]> git.baikalelectronics.ru Git - kernel.git/commit
HID: cougar: Stop processing vendor events on hid-core
authorDaniel M. Lambea <dmlambea@gmail.com>
Fri, 27 Jul 2018 20:19:12 +0000 (21:19 +0100)
committerJiri Kosina <jkosina@suse.cz>
Wed, 5 Sep 2018 08:25:37 +0000 (10:25 +0200)
commitb4470be7741a724af5cb665d4f645957c60c2022
tree80edae4da0970021eec2473f92ce188c563e74c8
parente941fcac6200960f5d24350807c1a0d0176ea188
HID: cougar: Stop processing vendor events on hid-core

Special key events received by the custom vendor's hdev are
translated to key events on the kbd iface's input device, so
their processing must not continue. Return -EPERM from
raw_event handler to effectively stop source events from
being processed in hid-core.

Signed-off-by: Daniel M. Lambea <dmlambea@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-cougar.c