staging: nvec: make keyboard init synchronous
authorMarc Dietrich <marvin24@gmx.de>
Sat, 6 Apr 2024 12:31:20 +0000 (14:31 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 Apr 2024 11:59:19 +0000 (13:59 +0200)
commit41288dfaf1b8231bc21fd6966e7296b087e75969
tree4c3de225f1e4e3792d88be38354e8313078f5127
parent244b6e92bd1a0b6ff1f6253b10a96dc208a315f2
staging: nvec: make keyboard init synchronous

Currently, we are constantly sending commands to the EC without waiting for them to be
executed. This can lead to confusion, especially if we initialize several different devices
one after the other.
To avoid this, we are switching from asynchronous to synchronous command transmission.

Signed-off-by: Marc Dietrich <marvin24@gmx.de>
Link: https://lore.kernel.org/r/20240406123123.37148-3-marvin24@gmx.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/nvec/nvec_kbd.c