summaryrefslogtreecommitdiffstats
path: root/target/linux/adm5120/patches/203-gpio_leds_brightness.patch
diff options
context:
space:
mode:
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 3e9f5271c..06394da29 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