diff options
author | Alexandros C. Couloumbis <alex@ozo.com> | 2010-10-08 16:52:35 +0000 |
---|---|---|
committer | Alexandros C. Couloumbis <alex@ozo.com> | 2010-10-08 16:52:35 +0000 |
commit | de5c835139b46c0fdacb727320bf1f427e176cd5 (patch) | |
tree | 9b1e76aa8b522ba43f8cc4561443326bcbd12592 | |
parent | 2e75737ff6ab59ecd27c26309dde5ccc2149045c (diff) | |
download | upstream-de5c835139b46c0fdacb727320bf1f427e176cd5.tar.gz upstream-de5c835139b46c0fdacb727320bf1f427e176cd5.tar.bz2 upstream-de5c835139b46c0fdacb727320bf1f427e176cd5.zip |
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
-rw-r--r-- | target/linux/ar71xx/patches-2.6.36/211-gpio_wr_fix.patch | 11 |
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 0000000000..04174d7b0c --- /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); |