04174d7b0c7bea43c0711021d26eb47d3eb4828d
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / patches-2.6.37 / 211-gpio_wr_fix.patch
1 --- a/drivers/gpio/gpiolib.c
2 +++ b/drivers/gpio/gpiolib.c
3 @@ -1564,7 +1564,7 @@ void __gpio_set_value(unsigned gpio, int
4 struct gpio_chip *chip;
5
6 chip = gpio_to_chip(gpio);
7 - WARN_ON(chip->can_sleep);
8 +// WARN_ON(chip->can_sleep);
9 chip->set(chip, gpio - chip->base, value);
10 }
11 EXPORT_SYMBOL_GPL(__gpio_set_value);