ar71xx: use gpio_*_cansleep calls in the rb4xx NAND driver
[openwrt.git] / target / linux / ar71xx / patches-2.6.36 / 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);
This page took 0.049097 seconds and 5 git commands to generate.