diff options
author | Dmitry Torokhov <[email protected]> | 2016-10-19 16:36:19 -0700 |
---|---|---|
committer | Dmitry Torokhov <[email protected]> | 2016-11-07 16:24:29 -0800 |
commit | ea6aabf877d82fe10627f40069e0f3d412706a8a (patch) | |
tree | 7b9897bf407bb24e242333c436070f7348936c12 /tools/perf/scripts/python/compaction-times.py | |
parent | 0f78ba96bbcf30a78224fe56f8fd72f87915afdd (diff) |
Input: gpio_keys_polled - always use gpiod_get_value_cansleep
It does not matter if given GPIO may sleep or not when reading state,
polling is always done in a non-atomic context, so we should always
be able to simply use gpiod_get_value_cansleep().
Also let's note in the logs when we fail to read gpio state.
Reviewed-by: Hans de Goede <[email protected]>
Reviewed-by: Mika Westerberg <[email protected]>
Tested-by: Mika Westerberg <[email protected]>
Acked-by: Linus Walleij <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions