From 5717ca5ea978c74fbd63ea234c256b2a309bd689 Mon Sep 17 00:00:00 2001 From: "Alexandros C. Couloumbis" Date: Fri, 8 Oct 2010 16:52:35 +0000 Subject: linux/ar71xx: workaround an rb4xx hard-lock until we get a proper fix. SVN-Revision: 23327 --- target/linux/ar71xx/patches-2.6.36/211-gpio_wr_fix.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 target/linux/ar71xx/patches-2.6.36/211-gpio_wr_fix.patch (limited to 'target/linux/ar71xx') diff --git a/target/linux/ar71xx/patches-2.6.36/211-gpio_wr_fix.patch b/target/linux/ar71xx/patches-2.6.36/211-gpio_wr_fix.patch new file mode 100644 index 0000000000..04174d7b0c --- /dev/null +++ b/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); -- cgit v1.2.3