summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-lg2ff.c
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2013-05-26 22:55:03 +0200
committerJiri Kosina <jkosina@suse.cz>2013-06-03 11:07:07 +0200
commit876727eabf3f224beb5f9b3bbcec2fb891faa89d (patch)
treed53ca742c2ac7c1af4ecbf48250d794a77885c01 /drivers/hid/hid-lg2ff.c
parentHID: wiimote: fix classic controller parsing (diff)
downloadlinux-876727eabf3f224beb5f9b3bbcec2fb891faa89d.tar.xz
linux-876727eabf3f224beb5f9b3bbcec2fb891faa89d.zip
HID: wiimote: discard invalid EXT data reports
If an extension device isn't initialized properly, or during hardware initialization, a device might send extension data which is all 0xff. This is ambigious because this is also a valid normal data report. But it is impossible, under normal conditions, to trigger valid reports with all 0xff. Hence, we can safely ignore them. Signed-off-by: David Herrmann <dh.herrmann@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-lg2ff.c')
0 files changed, 0 insertions, 0 deletions