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
commit845d7e156ebf9dfcff57c629b6511599c96d33c4 (patch)
treef6d66cf37dcff9c1caf8e37d614ef3dfa3947566 /target/linux/adm5120/patches/203-gpio_leds_brightness.patch
parent7e9b27206f111a18b77a773f091dba5b36b304f6 (diff)
downloadupstream-845d7e156ebf9dfcff57c629b6511599c96d33c4.tar.gz
upstream-845d7e156ebf9dfcff57c629b6511599c96d33c4.tar.bz2
upstream-845d7e156ebf9dfcff57c629b6511599c96d33c4.zip
[adm5120] switch to 2.6.25.7
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11526 3c298f89-4303-0410-b956-a3cf2f4a3e73
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