diff options
author | Johan Hovold <jhovold@gmail.com> | 2013-03-21 12:36:45 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-25 13:48:26 -0700 |
commit | 30d9d42e9a7c205cc139dce743463b8070684df5 (patch) | |
tree | 90a06959b9d95f076272c05caefece58c983e81b /drivers/usb/serial/usb-serial.c | |
parent | c3452f5e444446fad9bb1957d22a25334798f94c (diff) | |
download | op-kernel-dev-30d9d42e9a7c205cc139dce743463b8070684df5.zip op-kernel-dev-30d9d42e9a7c205cc139dce743463b8070684df5.tar.gz |
USB: cyberjack: fix disconnect handling
Make sure the interrupt urb submitted in port_probe is killed in
port_remove.
The interrupt-urb completion handler references the port and may get
called after port_remove has returned and the port has been
unregistered (although this is currently prevented by usb-serial core as
we are using a non-private urb).
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/serial/usb-serial.c')
0 files changed, 0 insertions, 0 deletions