projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a25500
)
gpio: f7188x: set can_sleep attribute
author
Simon Guinot
<
[email protected]
>
Fri, 3 Jan 2014 15:04:08 +0000
(16:04 +0100)
committer
Linus Walleij
<
[email protected]
>
Tue, 7 Jan 2014 18:02:01 +0000
(19:02 +0100)
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 <
[email protected]
>
Signed-off-by: Linus Walleij <
[email protected]
>
drivers/gpio/gpio-f7188x.c
patch
|
blob
|
history
diff --git
a/drivers/gpio/gpio-f7188x.c
b/drivers/gpio/gpio-f7188x.c
index 9cb8320e118118488858ad2b42f500c6bebd9ea0..8f73ee093739fd851a299178282d0a34ab06edfc 100644
(file)
--- 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, \
}