Searched hist:ea04a7ca (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/gpio/ |
H A D | gpio-pisosr.c | ea04a7ca Wed Feb 24 07:31:14 CST 2016 Axel Lin <axel.lin@ingics.com> 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> ea04a7ca Wed Feb 24 07:31:14 CST 2016 Axel Lin <axel.lin@ingics.com> 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>
|