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

input: kbd_matrix: fix possible race condition



Fix a possible race condition in the keyboard matrix library where a key
would get pressed between the last read and reenabling the (edge
sensitive) interrupt and the even would be lost.

The window for this to happen is very narrow and had to artificially add
a sleep to reproduce it.

Signed-off-by: default avatarFabio Baltieri <fabiobaltieri@google.com>
parent ffbd0397
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment