]> git.baikalelectronics.ru Git - kernel.git/commit
HID: fix processing of event quirks
authorJiri Kosina <jkosina@suse.cz>
Thu, 7 Feb 2008 15:48:46 +0000 (16:48 +0100)
committerJiri Kosina <jkosina@suse.cz>
Mon, 11 Feb 2008 12:01:51 +0000 (13:01 +0100)
commit3d162977ea6be9ed1e7795ff592b58e5e7828f84
treed71703b0cbb0f13b8b183e8d512872e8ef763ed5
parent689fdb2479af0071723ddea0722e3c1fa83c8e65
HID: fix processing of event quirks

The old code (before move) stopped further processing of the
event after it has been already processed by the quirk handler.

The new code didn't propagate the return value properly, and
therefore the processing always proceeded, which was wrong.

This patch fixes it. Pointed out in kernel.org bugzilla #9842

Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-input-quirks.c
drivers/hid/hid-input.c
include/linux/hid.h