diff options
author | Axel Lin <axel.lin@ingics.com> | 2016-02-24 21:31:14 +0800 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-02-25 15:20:46 +0100 |
commit | ea04a7cae32108624af55d84845e8f4d21c9cb34 (patch) | |
tree | 50090a9640f7464b9aaf39316b2847768224b32a /tools/perf/scripts/python/export-to-postgresql.py | |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions