USB: sierra: do not resume I/O on closed ports
authorJohan Hovold <jhovold@gmail.com>
Mon, 26 May 2014 17:23:03 +0000 (19:23 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 May 2014 22:04:04 +0000 (15:04 -0700)
commita283d080a49a5014f525bf722e5a6a07835e45ef
treed61b4d225b95cc1eb6d21805fff7a119a0591395
parent40d88983cee801cb9aef00e514b3ebf3a51f6c7e
USB: sierra: do not resume I/O on closed ports

Do not resume any I/O, including the delayed write queue, on closed
ports.

Note that this currently has no functional impact due to the
usb_autopm_get_interface() in close(), but that call is about to be
removed by a follow-up patch.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/sierra.c