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)
commit68a1f2cc8676f22a6fd49f344f99e326eb7f5117
treed71703b0cbb0f13b8b183e8d512872e8ef763ed5
parentdda3fd3535566b4d2b450dded23f1334a5f60bd6
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