aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-handheld-4.0/locomo/0019-poodle-gpio-uart-hack.patch
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2015-04-13 23:31:01 +0200
committerAndrea Adami <andrea.adami@gmail.com>2015-04-13 23:31:01 +0200
commit7658d764c1e8f56108c5327cab1e85c6d083fa91 (patch)
tree229c5b96dff05bba58a07d2981c0b781b290f359 /recipes-kernel/linux/linux-handheld-4.0/locomo/0019-poodle-gpio-uart-hack.patch
parentacf8aff70fe9cf90e493706eb584b24392ac03dd (diff)
downloadmeta-handheld-7658d764c1e8f56108c5327cab1e85c6d083fa91.tar.gz
linux-handheld: initial commit of kernel v. 4.0
Build tested for Zaurus and Ipaq h3600, hx4700 Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Diffstat (limited to 'recipes-kernel/linux/linux-handheld-4.0/locomo/0019-poodle-gpio-uart-hack.patch')
-rw-r--r--recipes-kernel/linux/linux-handheld-4.0/locomo/0019-poodle-gpio-uart-hack.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-handheld-4.0/locomo/0019-poodle-gpio-uart-hack.patch b/recipes-kernel/linux/linux-handheld-4.0/locomo/0019-poodle-gpio-uart-hack.patch
new file mode 100644
index 0000000..c42f21b
--- /dev/null
+++ b/recipes-kernel/linux/linux-handheld-4.0/locomo/0019-poodle-gpio-uart-hack.patch
@@ -0,0 +1,26 @@
+From 8bab2ab9f758aa15ea1f97e4c11f27bcd094b4d1 Mon Sep 17 00:00:00 2001
+From: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
+Date: Fri, 28 Nov 2014 15:27:51 +0300
+Subject: [PATCH 19/20] poodle gpio uart hack
+
+Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
+---
+ drivers/gpio/gpio-locomo.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/drivers/gpio/gpio-locomo.c b/drivers/gpio/gpio-locomo.c
+index d8e5880..c8510fa 100644
+--- a/drivers/gpio/gpio-locomo.c
++++ b/drivers/gpio/gpio-locomo.c
+@@ -224,7 +224,7 @@ static int locomo_gpio_probe(struct platform_device *pdev)
+
+ platform_set_drvdata(pdev, lg);
+
+- regmap_write(lg->regmap, LOCOMO_GPO, 0x00);
++ regmap_write(lg->regmap, LOCOMO_GPO, 1 << 12);
+ regmap_write(lg->regmap, LOCOMO_GPE, 0x00);
+ regmap_write(lg->regmap, LOCOMO_GPD, 0x00);
+ regmap_write(lg->regmap, LOCOMO_GIE, 0x00);
+--
+1.9.1
+