switch to 2.6.25.7
[librecmc/librecmc.git] / target / linux / adm5120 / patches / 203-gpio_leds_brightness.patch
index 3e9f5271c5c61d635d2bffc155deba97182399e7..06394da295b935286299fec7722cb2dc6ac52e28 100644 (file)
@@ -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