commit | ea04a7cae32108624af55d84845e8f4d21c9cb34 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Wed Feb 24 21:31:14 2016 +0800 |
committer | Linus Walleij <linus.walleij@linaro.org> | Thu Feb 25 15:20:46 2016 +0100 |
tree | 50090a9640f7464b9aaf39316b2847768224b32a | |
parent | 21d08ab9c9d8dc17ee650b28cea8b3175065e201 [diff] |
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>