linux/drivers/hid
Anssi Hannula 1168df7e1c HID: pidff - fix unnecessary loop iterations on reset
When encountering a strange value in the pool report, pidff_reset
will always refetch the report 20 times, even if one of the retries
results in a sane value. This is because a temporary variable being
used to store the value is not being updated inside the loop.

Fix it by using the value directly in the loop.

Reported-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2009-11-04 10:04:08 +01:00
..
usbhid HID: pidff - fix unnecessary loop iterations on reset 2009-11-04 10:04:08 +01:00
hid-a4tech.c
hid-apple.c
hid-belkin.c
hid-cherry.c
hid-chicony.c
hid-core.c HID: fix kerneldoc comment for hid_input_report() 2009-10-01 16:03:13 +02:00
hid-cypress.c
hid-debug.c
hid-drff.c
hid-ezkey.c
hid-gaff.c
hid-gyration.c
hid-ids.h
hid-input.c
hid-kensington.c
hid-kye.c
hid-lg.c
hid-lg.h
hid-lg2ff.c
hid-lgff.c
hid-microsoft.c
hid-monterey.c
hid-ntrig.c
hid-petalynx.c
hid-pl.c
hid-samsung.c
hid-sjoy.c
hid-sony.c
hid-sunplus.c
hid-tmff.c
hid-topseed.c
hid-twinhan.c
hid-wacom.c
hid-zpff.c
hidraw.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid 2009-10-13 10:10:33 -07:00
Kconfig
Makefile