summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx
diff options
context:
space:
mode:
authorAlexandros C. Couloumbis <alex@ozo.com>2010-10-08 16:52:35 +0000
committerAlexandros C. Couloumbis <alex@ozo.com>2010-10-08 16:52:35 +0000
commit5717ca5ea978c74fbd63ea234c256b2a309bd689 (patch)
tree9c998fe0159cfdc5f4a69e37873def610759aae7 /target/linux/ar71xx
parent2d2dab50a544573676f729496705ee1240c2a529 (diff)
downloadmtk-20170518-5717ca5ea978c74fbd63ea234c256b2a309bd689.zip
mtk-20170518-5717ca5ea978c74fbd63ea234c256b2a309bd689.tar.gz
mtk-20170518-5717ca5ea978c74fbd63ea234c256b2a309bd689.tar.bz2
linux/ar71xx: workaround an rb4xx hard-lock until we get a proper fix.
SVN-Revision: 23327
Diffstat (limited to 'target/linux/ar71xx')
-rw-r--r--target/linux/ar71xx/patches-2.6.36/211-gpio_wr_fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/ar71xx/patches-2.6.36/211-gpio_wr_fix.patch b/target/linux/ar71xx/patches-2.6.36/211-gpio_wr_fix.patch
new file mode 100644
index 0000000..04174d7
--- /dev/null
+++ b/target/linux/ar71xx/patches-2.6.36/211-gpio_wr_fix.patch
@@ -0,0 +1,11 @@
+--- a/drivers/gpio/gpiolib.c
++++ b/drivers/gpio/gpiolib.c
+@@ -1564,7 +1564,7 @@ void __gpio_set_value(unsigned gpio, int
+ struct gpio_chip *chip;
+
+ chip = gpio_to_chip(gpio);
+- WARN_ON(chip->can_sleep);
++// WARN_ON(chip->can_sleep);
+ chip->set(chip, gpio - chip->base, value);
+ }
+ EXPORT_SYMBOL_GPL(__gpio_set_value);