aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorDmitry Torokhov <[email protected]>2018-05-09 12:12:15 -0700
committerJiri Kosina <[email protected]>2018-05-15 11:15:05 +0200
commitb3a81b6c4fc6730ac49e20d789a93c0faabafc98 (patch)
tree2aa89b56e850590c14576648ef3affbed89112aa /tools/perf/scripts/python/export-to-sqlite.py
parent2dcc8197fefc7eb1d255f1856fc0f642c38cf78d (diff)
HID: i2c-hid: check if device is there before really probing
On many Chromebooks touch devices are multi-sourced; the components are electrically compatible and one can be freely swapped for another without changing the OS image or firmware. To avoid bunch of scary messages when device is not actually present in the system let's try testing basic communication with it and if there is no response terminate probe early with -ENXIO. Signed-off-by: Dmitry Torokhov <[email protected]> Reviewed-by: Benjamin Tissoires <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions