summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2017-10-12 10:54:23 +0200
committerJohan Hovold <johan@kernel.org>2017-10-13 09:45:09 +0200
commitee13a25fc355650b3acf43857b7a496eb6b07f0b (patch)
tree748ff505fb70d5a48a75ae9923151260a034b845 /tools/perf/scripts/python/export-to-sqlite.py
parent6f792f471fad3ed16aca9ccedacdcd48fbedf7a9 (diff)
USB: serial: metro-usb: add missing interrupt-out endpoint check
One class of "unidirectional" devices managed by this driver uses an interrupt-out endpoint to send control messages at open and close. Due to a missing endpoint sanity check, this could result in an interrupt URB being submitted to endpoint 0 instead. This would be caught by USB core (without a WARN dump), but let's verify that the expected endpoints are present at probe rather than when a port is later opened. Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions