From: Simon Guinot Date: Fri, 3 Jan 2014 15:04:08 +0000 (+0100) Subject: gpio: f7188x: set can_sleep attribute X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=aeccc1b4a9b9e3b9a0703e93ed1db673432a29c0;p=linux-beck.git gpio: f7188x: set can_sleep attribute Since request_muxed_region() is used to synchronize access on the Super-I/O controller, then the can_sleep attribute must be set for the f7188x GPIO chips. Signed-off-by: Simon Guinot Signed-off-by: Linus Walleij --- diff --git a/drivers/gpio/gpio-f7188x.c b/drivers/gpio/gpio-f7188x.c index 9cb8320e1181..8f73ee093739 100644 --- a/drivers/gpio/gpio-f7188x.c +++ b/drivers/gpio/gpio-f7188x.c @@ -135,6 +135,7 @@ static void f7188x_gpio_set(struct gpio_chip *chip, unsigned offset, int value); .set = f7188x_gpio_set, \ .base = _base, \ .ngpio = _ngpio, \ + .can_sleep = true, \ }, \ .regbase = _regbase, \ }