summaryrefslogtreecommitdiff
path: root/target/linux/adm5120/patches/203-gpio_leds_brightness.patch
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-06-17 14:30:18 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-06-17 14:30:18 +0000
commiteda84c41d7be4c76c251d8fdbdbfd9e635f386ff (patch)
treef6d66cf37dcff9c1caf8e37d614ef3dfa3947566 /target/linux/adm5120/patches/203-gpio_leds_brightness.patch
parent1ddb98be17c1f06520e83f6cdc91361034a94aa3 (diff)
[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