瀏覽代碼

linux/ar71xx: workaround an rb4xx hard-lock until we get a proper fix.

SVN-Revision: 23327
Alexandros C. Couloumbis 15 年之前
父節點
當前提交
5717ca5ea9
共有 1 個文件被更改,包括 11 次插入0 次删除
  1. 11 0
      target/linux/ar71xx/patches-2.6.36/211-gpio_wr_fix.patch

+ 11 - 0
target/linux/ar71xx/patches-2.6.36/211-gpio_wr_fix.patch

@@ -0,0 +1,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);