Andrew Morton wrote:iirc it had to do with the pc-speaker driver, but I don't seem to be ableOK, sorry, I haven't realized its important.
to locate the original email.
The patch below adds input_enable_device() and input_disable_device()
to the input subsystem, that allows to enable and disable the input
devices. The reason to have it, is the snd-pcsp PC-Speaker driver in
an ALSA tree that needs an ability to disable the pcspkr driver.
Signed-off-by: Stas Sergeev <stsp@xxxxxxxx>
CC: Dmitry Torokhov <dtor_core@xxxxxxxxxxxxx>
CC: Vojtech Pavlik <vojtech@xxxxxxx>
--- a/include/linux/input.h 2006-04-05 17:10:01.000000000 +0400
+++ b/include/linux/input.h 2006-04-05 17:36:49.000000000 +0400
@@ -878,7 +878,7 @@
struct pt_regs *regs;
+ int disabled;
int abs[ABS_MAX + 1];