]> git.baikalelectronics.ru Git - kernel.git/commit
HID: uclogic: apply quirk NO_EMPTY_INPUT
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Tue, 3 Mar 2015 17:44:03 +0000 (12:44 -0500)
committerJiri Kosina <jkosina@suse.cz>
Tue, 3 Mar 2015 20:31:55 +0000 (21:31 +0100)
commiteb91a3b4ddd7b38f91639d7fb87dc43de0638fda
tree18061ca5f8668a70eb851a8040a6eade05f324eb
parented7308fbed2b0b56ec846d8c5e964bdac5c25a2d
HID: uclogic: apply quirk NO_EMPTY_INPUT

NO_EMPTY_INPUT is useful when MULTI_INPUT is set. It prevents to create
empty input nodes that user space does not know what to do with.

It does not seem to be required at the moment, this is just a preventive
patch. This check is only made during the plug of the device, so it does
not hurt to have it.

Reviewed-by: Nikolai Kondrashov <spbnick@gmail.com>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-uclogic.c