summaryrefslogtreecommitdiffstats
path: root/drivers/media/radio
diff options
context:
space:
mode:
authorJohan Hovold <jhovold@gmail.com>2013-03-21 12:36:50 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-25 13:48:27 -0700
commit5cb27dde2e8b7bcbdce6de270c73c021a65caff8 (patch)
tree31822932c11b0b4d3d034a92c5fc4320d367af0b /drivers/media/radio
parent6a5c821cad1459ec2b5fd5778f46d13c4255a7bf (diff)
USB: serial: clean up usb-serial bus device removal
Make sure to unregister the tty-device before calling subdriver port_remove. This way remove will reverse probe, and specifically any port data released in port_remove will be available throughout tty unregister. Note that the order currently does not matter as the tty-layer can make callbacks also after the device has been unregistered. This is handled in usb-serial core using the disconnected flag, which is already set when usb-serial bus device remove is called. Cc: Peter Hurley <peter@hurleysoftware.com> Reported-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/media/radio')
0 files changed, 0 insertions, 0 deletions