1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-07-05 04:23:50 +03:00

linux/ar71xx: workaround an rb4xx hard-lock until we get a proper fix.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23327 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
acoul 2010-10-08 16:52:35 +00:00
parent 88331ba12c
commit c6b2d9a861

View File

@ -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);