diff options
author | Simon Guinot <simon.guinot@sequanux.org> | 2014-01-03 10:04:08 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-01-07 13:02:01 -0500 |
commit | aeccc1b4a9b9e3b9a0703e93ed1db673432a29c0 (patch) | |
tree | e9fc9dc5d6bb2628e6407e4429f4c832fed7628b | |
parent | 7a255005ee894c42eb0a00ac0f552a4c84383c57 (diff) |
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 <simon.guinot@sequanux.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r-- | drivers/gpio/gpio-f7188x.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); | |||
135 | .set = f7188x_gpio_set, \ | 135 | .set = f7188x_gpio_set, \ |
136 | .base = _base, \ | 136 | .base = _base, \ |
137 | .ngpio = _ngpio, \ | 137 | .ngpio = _ngpio, \ |
138 | .can_sleep = true, \ | ||
138 | }, \ | 139 | }, \ |
139 | .regbase = _regbase, \ | 140 | .regbase = _regbase, \ |
140 | } | 141 | } |