diff options
author | Adam Kropelin <akropel1@rochester.rr.com> | 2005-07-11 01:09:32 -0500 |
---|---|---|
committer | Dmitry Torokhov <dtor_core@ameritech.net> | 2005-07-11 01:09:32 -0500 |
commit | bc5d04822bd9f34ea93a681f05f5e5683935d574 (patch) | |
tree | f0ebc97e220fbf9c7f104ade10bc93443aca40ef /include/asm-arm26/hardware.h | |
parent | 153ab429cad3b585ddf1a5521cfaadb57402cd31 (diff) | |
download | op-kernel-dev-bc5d04822bd9f34ea93a681f05f5e5683935d574.zip op-kernel-dev-bc5d04822bd9f34ea93a681f05f5e5683935d574.tar.gz |
Input: HID - only report events coming from interrupts to hiddev
Currently hid-core follows the same code path for input reports
regardless of whether they are a result of interrupt transfers or
control transfers. That leads to interrupt events erroneously being
reported to hiddev for regular control transfers.
Prior to 2.6.12 the problem was mitigated by the fact that
reporting to hiddev is supressed if the field value has not changed,
which is often the case. Said filtering was removed in 2.6.12-rc1 which
means any input reports fetched via control transfers result in hiddev
interrupt events. This behavior can quickly lead to a feedback loop
where a userspace app, in response to interrupt events, issues control
transfers which in turn create more interrupt events.
This patch prevents input reports that arrive via control transfers from
being reported to hiddev as interrupt events.
Signed-off-by: Adam Kropelin <akropel1@rochester.rr.com>
Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include/asm-arm26/hardware.h')
0 files changed, 0 insertions, 0 deletions