diff options
author | 2017-10-12 10:54:21 +0200 | |
---|---|---|
committer | 2017-10-13 09:44:31 +0200 | |
commit | 2339536d229df25c71c0900fc619289229bfecf6 (patch) | |
tree | 79ac90185548b3cf28cf9ba1fb6158783aa1ae20 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | USB: serial: garmin_gps: simplify init-session logic (diff) | |
download | linux-dev-2339536d229df25c71c0900fc619289229bfecf6.tar.xz linux-dev-2339536d229df25c71c0900fc619289229bfecf6.zip |
USB: serial: metro-usb: stop I/O after failed open
Make sure to kill the interrupt-in URB after a failed open request.
Apart from saving power (and avoiding stale input after a later
successful open), this also prevents a NULL-deref in the completion
handler if the port is manually unbound.
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Fixes: 704577861d5e ("USB: serial: metro-usb: get data from device in Uni-Directional mode.")
Cc: stable <stable@vger.kernel.org> # 3.5
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions