linux/ar71xx: workaround an rb4xx hard-lock until we get a proper fix.
authoracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 8 Oct 2010 16:52:35 +0000 (16:52 +0000)
committeracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 8 Oct 2010 16:52:35 +0000 (16:52 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23327 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/ar71xx/patches-2.6.36/211-gpio_wr_fix.patch [new file with mode: 0644]

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 (file)
index 0000000..04174d7
--- /dev/null
@@ -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);
This page took 0.022338 seconds and 4 git commands to generate.