drivers/input: it8xxx2: Add critical section to prevent race conditions
The KBS_KSOH1 register contains both keyboard and GPIO output settings.
Not all bits are for the keyboard will be driven, so a critical section
is needed to prevent race conditions.
Signed-off-by:
Tim Lin <tim2.lin@ite.corp-partner.google.com>
Loading
Please sign in to comment