X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/33d588243377bef87f58e75d9d0286ec1648b1aa..ae1f46d43dfb8e013d29aff091b7261a8a420367:/target/linux/adm5120/patches/203-gpio_leds_brightness.patch 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