aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/adm5120/patches/203-gpio_leds_brightness.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-06-17 14:30:18 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-06-17 14:30:18 +0000
commit13bb189a1500a306e8611b9e734eed8b8a46506e (patch)
tree5a28619b0bb967d37ebdb9a0ef0a7a40fa2747cc /target/linux/adm5120/patches/203-gpio_leds_brightness.patch
parent2ccf25789e09a6745270c8976917f4ccd5c68797 (diff)
downloadupstream-13bb189a1500a306e8611b9e734eed8b8a46506e.tar.gz
upstream-13bb189a1500a306e8611b9e734eed8b8a46506e.tar.bz2
upstream-13bb189a1500a306e8611b9e734eed8b8a46506e.zip
switch to 2.6.25.7
SVN-Revision: 11526
Diffstat (limited to 'target/linux/adm5120/patches/203-gpio_leds_brightness.patch')
-rw-r--r--target/linux/adm5120/patches/203-gpio_leds_brightness.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/adm5120/patches/203-gpio_leds_brightness.patch b/target/linux/adm5120/patches/203-gpio_leds_brightness.patch
index 3e9f5271c5..06394da295 100644
--- a/target/linux/adm5120/patches/203-gpio_leds_brightness.patch
+++ b/target/linux/adm5120/patches/203-gpio_leds_brightness.patch
@@ -23,5 +23,5 @@
+ break;
+ }
- /* setting GPIOs with I2C/etc requires a preemptible task context */
- if (led_dat->can_sleep) {
+ /* Setting GPIOs with I2C/etc requires a task context, and we don't
+ * seem to have a reliable way to know if we're already in one; so