aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJason Andryuk <[email protected]>2018-06-22 16:25:49 +0000
committerJiri Kosina <[email protected]>2018-07-09 12:26:47 +0000
commitef6eaf27274c0351f7059163918f3795da13199c (patch)
treed70e1cd7872f533192a5587a5b92618b3185c7b8 /tools/perf/scripts/python
parentHID: wacom: Correct touch maximum XY of 2nd-gen Intuos (diff)
downloadkernel-ef6eaf27274c0351f7059163918f3795da13199c.tar.gz
kernel-ef6eaf27274c0351f7059163918f3795da13199c.zip
HID: i2c-hid: Fix "incomplete report" noise
Commit ac75a041048b ("HID: i2c-hid: fix size check and type usage") started writing messages when the ret_size is <= 2 from i2c_master_recv. However, my device i2c-DLL07D1 returns 2 for a short period of time (~0.5s) after I stop moving the pointing stick or touchpad. It varies, but you get ~50 messages each time which spams the log hard. [ 95.925055] i2c_hid i2c-DLL07D1:01: i2c_hid_get_input: incomplete report (83/2) This has also been observed with a i2c-ALP0017. [ 1781.266353] i2c_hid i2c-ALP0017:00: i2c_hid_get_input: incomplete report (30/2) Only print the message when ret_size is totally invalid and less than 2 to cut down on the log spam. Fixes: ac75a041048b ("HID: i2c-hid: fix size check and type usage") Reported-by: John Smith <[email protected]> Cc: [email protected] Signed-off-by: Jason Andryuk <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions