]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "Input: serio - make write method mandatory"
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 21 Jul 2021 04:48:35 +0000 (21:48 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 21 Jul 2021 04:48:35 +0000 (21:48 -0700)
commit20d7c2db8d77d08731e41db0667e7627179a055b
treef52d548b7b8896b750540a224424427ce54373cb
parent65ecdd3a98780a5661f1792e8a5b48de34089acb
Revert "Input: serio - make write method mandatory"

This reverts commit 978400b45fef7148d1633bbd47d5166b4dd46da9. The idea
to make write method mandatory was flawed as several client drivers
(such as atkbd) check for presence of write() method to adjust behavior
of the driver.

Reported-by: Nathan Chancellor <nathan@kernel.org>
Reported-by: Michael Kelley <mikelley@microsoft.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/serio/ams_delta_serio.c
drivers/input/serio/serio.c
include/linux/serio.h