diff options
| author | Johan Hovold <johan@kernel.org> | 2017-01-03 16:39:45 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-12 11:22:45 +0100 |
| commit | 11743d704e510d2f25b3a1bf81fbb2b103afefb4 (patch) | |
| tree | df9a702ca6ed7bbf6ba00bace6dd4b6e590f3a17 /tools/perf/scripts/python | |
| parent | 7ef8807cce7d33a590a426d781f54730f45ca81f (diff) | |
USB: serial: io_ti: fix I/O after disconnect
commit 2330d0a853da260d8a9834a70df448032b9ff623 upstream.
Cancel the heartbeat work on driver unbind in order to avoid I/O after
disconnect in case the port is held open.
Note that the cancel in release() is still needed to stop the heartbeat
after late probe errors.
Fixes: 26c78daade0f ("USB: io_ti: Add heartbeat to keep idle EP/416 ports from disconnecting")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
