aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-handheld-4.4/locomo/0038-XXX-ucb11x0-don-t-exit-if-UCB-is-not-detected.patch
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2016-01-12 23:06:43 +0100
committerAndrea Adami <andrea.adami@gmail.com>2016-01-19 22:50:27 +0100
commit526de214f4f88b41c41adc74da30637757acbee7 (patch)
treeb3d0e9b77fac852a1cc3327235a9b73dbfc2c168 /recipes-kernel/linux/linux-handheld-4.4/locomo/0038-XXX-ucb11x0-don-t-exit-if-UCB-is-not-detected.patch
parentd9edb47c98812d9617e5132b32202f5463ec0796 (diff)
downloadmeta-handheld-526de214f4f88b41c41adc74da30637757acbee7.tar.gz
linux-handheld: initial commit of v. 4.4 for PXA and SA1100 devices
Unfortunately h1940 has been skipped for it needs a total refresh of patches. The patches for locomo are courtesy of Dmitry and have been taken from http://git.infradead.org/users/dbaryshkov/zaurus.git One patch from there has been edited: "video: lcd: add LoCoMo LCD driver" --- a/drivers/video/backlight/locomo_lcd.c +++ b/drivers/video/backlight/locomo_lcd.c @@ -20,7 +20,7 @@ #include <linux/platform_device.h> #include <linux/regmap.h> -#define POWER_IS_ON(pwr) ((pwr) <= FB_BLANK_NORMAL) +#define POWER_IS_ON(pwr) ((pwr) == FB_BLANK_UNBLANK) Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Diffstat (limited to 'recipes-kernel/linux/linux-handheld-4.4/locomo/0038-XXX-ucb11x0-don-t-exit-if-UCB-is-not-detected.patch')
-rw-r--r--recipes-kernel/linux/linux-handheld-4.4/locomo/0038-XXX-ucb11x0-don-t-exit-if-UCB-is-not-detected.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-handheld-4.4/locomo/0038-XXX-ucb11x0-don-t-exit-if-UCB-is-not-detected.patch b/recipes-kernel/linux/linux-handheld-4.4/locomo/0038-XXX-ucb11x0-don-t-exit-if-UCB-is-not-detected.patch
new file mode 100644
index 0000000..9bff513
--- /dev/null
+++ b/recipes-kernel/linux/linux-handheld-4.4/locomo/0038-XXX-ucb11x0-don-t-exit-if-UCB-is-not-detected.patch
@@ -0,0 +1,26 @@
+From 1867465504b6d6d76901fc0ff82f4fb32ee6a5cd Mon Sep 17 00:00:00 2001
+From: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
+Date: Mon, 27 Apr 2015 20:25:20 +0300
+Subject: [PATCH 38/44] XXX: ucb11x0: don't exit if UCB is not detected
+
+Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
+---
+ drivers/mfd/ucb1x00-core.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/drivers/mfd/ucb1x00-core.c b/drivers/mfd/ucb1x00-core.c
+index dd4127d2..5542b4c 100644
+--- a/drivers/mfd/ucb1x00-core.c
++++ b/drivers/mfd/ucb1x00-core.c
+@@ -441,7 +441,7 @@ static int ucb1x00_probe(struct mcp *mcp)
+
+ if (id != UCB_ID_1200 && id != UCB_ID_1300 && id != UCB_ID_TC35143) {
+ printk(KERN_WARNING "UCB1x00 ID not found: %04x\n", id);
+- goto out;
++// goto out;
+ }
+
+ ucb = kzalloc(sizeof(struct ucb1x00), GFP_KERNEL);
+--
+1.9.1
+