mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 01:28:59 +00:00
0c66bb9c55
SVN-Revision: 23944
12 lines
322 B
Diff
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);
|