aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorDmitry Torokhov <[email protected]>2010-05-19 10:11:13 -0700
committerDmitry Torokhov <[email protected]>2010-05-19 10:15:13 -0700
commita083632eaf6231162b33e40561cfec6a9c156945 (patch)
treea063886c624edbb204eb6e87d046f67bb89a2e4d /tools/perf/util/trace-event-scripting.c
parentd4ae84a84bedcb79341887ff070e6528d1374663 (diff)
Input: elantech - relax signature checks
Apparently there are Elantech touchpads that report non-zero in the 2nd byte of their signature. Adjust the detection routine so that if 2nd byte is zero and 3rd byte contains value that is not a valid report rate, we still assume that signature is valid. Tested-by: Eric Piel <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions