You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/target/linux/ar71xx/patches-2.6.36/211-gpio_wr_fix.patch

12 lines
322 B
Diff

--- a/drivers/gpio/gpiolib.c
+++ b/drivers/gpio/gpiolib.c
@@ -1564,7 +1564,7 @@ void __gpio_set_value(unsigned gpio, int
struct gpio_chip *chip;
chip = gpio_to_chip(gpio);
- WARN_ON(chip->can_sleep);
+// WARN_ON(chip->can_sleep);
chip->set(chip, gpio - chip->base, value);
}
EXPORT_SYMBOL_GPL(__gpio_set_value);