diff options
author | Axel Lin <axel.lin@ingics.com> | 2016-02-24 16:31:14 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-02-25 17:20:46 +0300 |
commit | ea04a7cae32108624af55d84845e8f4d21c9cb34 (patch) | |
tree | 50090a9640f7464b9aaf39316b2847768224b32a /Documentation/gpio | |
parent | 21d08ab9c9d8dc17ee650b28cea8b3175065e201 (diff) | |
download | linux-ea04a7cae32108624af55d84845e8f4d21c9cb34.tar.xz |
gpio: pisosr: Use gpiod_set_value_cansleep in pisosr_gpio_refresh()
This driver has .can_sleep flag set.
So the pisosr_gpio_get() can be called from contexts that can sleep.
Thus use the cansleep() variant in pisosr_gpio_refresh().
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Documentation/gpio')
0 files changed, 0 insertions, 0 deletions