diff options
author | 2016-02-24 21:31:14 +0800 | |
---|---|---|
committer | 2016-02-25 15:20:46 +0100 | |
commit | ea04a7cae32108624af55d84845e8f4d21c9cb34 (patch) | |
tree | 50090a9640f7464b9aaf39316b2847768224b32a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gpio: pisosr: Use devm_gpiod_get_optional for gpio->load_gpio (diff) | |
download | linux-dev-ea04a7cae32108624af55d84845e8f4d21c9cb34.tar.xz linux-dev-ea04a7cae32108624af55d84845e8f4d21c9cb34.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions