Skip to content
Commit 7a538c88 authored by Fabio Baltieri's avatar Fabio Baltieri Committed by Carles Cufí
Browse files

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: default avatarFabio Baltieri <fabiobaltieri@google.com>
parent ed501d78
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment