aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJason Gerecke <[email protected]>2015-04-30 17:51:55 -0700
committerJiri Kosina <[email protected]>2015-05-04 10:00:23 +0200
commit8e116d3169cc2b93b7eb2f44dc021a93cd3d5308 (patch)
tree3263e6e65bb02007ae9d96e8e81d1dd59e0775b9 /tools/perf/scripts/python/export-to-postgresql.py
parent042628abd59c9a034797bd3083f806fa17cda62d (diff)
HID: wacom: Fail probe if HID_GENERIC device has unknown device_type
The last patch was careful to maintain backwards-compatible behavior by forcing device_type to BTN_TOOL_PEN (and printing a warning) if it were still uninitialized after scanning the HID descriptor and applying quirks. We should be more strict with HID_GENERIC devices, however, since there is no a priori guarantee that it is a tablet or touchpad. If the device_type is still uninitialized for a HID_GENERIC device then we assume that it isn't something the driver can work with and so fail the probe. Signed-off-by: Jason Gerecke <[email protected]> Reviewed-by: Ping Cheng <[email protected]> Reviewed-by: Benjamin Tissoires <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions