commit | 7a538c88cd1f2d813221a867422cd6812ef60315 | [log] [tgz] |
---|---|---|
author | Fabio Baltieri <fabiobaltieri@google.com> | Wed Mar 20 19:51:21 2024 +0000 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Thu May 16 14:02:36 2024 +0200 |
tree | 8ac0f34239eb065f00dc62189d29f779f34e9c16 | |
parent | ed501d788b406e93e38c65e72adde18261b1baf5 [diff] |
input: gpio_keys: skip change checking when suspended Check if the driver is suspended in gpio_keys_change_deferred(), this avoids a potential situation where a race condition could try and read from a pin that has just been disconnected. Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>