]> git.baikalelectronics.ru Git - kernel.git/commit
Input: i8042 - force synchronous probing of PNP drivers
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 12 Dec 2016 22:33:37 +0000 (14:33 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 18 Dec 2016 23:56:44 +0000 (15:56 -0800)
commitee3e2fffc3af424fbb5a6d10c0548043bf4a493c
treee685452163c0e59de76c2612ff719321ba9bdfaf
parentbd2797ec77dc4f4d779ab00207def77a1502b86d
Input: i8042 - force synchronous probing of PNP drivers

We rely on the result of scanning PNP bus for keyboard and mouse devices to
decide whether we should continue initialization of i8042 driver or not, so
the probes can not be asynchronous.

Also, it is not a good idea to unbind either of the PNP devices while i8042
is running, so let's disable bind/unbind for the PNP drivers through sysfs
and rely on i8042 cleaning after itself properly. User can still unbind and
rebind entire i8042 and that will take care of PNP drivers as well.

Reviewed-by: Luis R. Rodriguez <mgrof@kernel.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/serio/i8042-x86ia64io.h