summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/patches-2.6.37/211-gpio_wr_fix.patch
blob: 04174d7b0c7bea43c0711021d26eb47d3eb4828d (plain)
1
2
3
4
5
6
7
8
9
10
11
--- 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);