]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdd9bbd8944333c44f3ce7e1f84db2a9dae7658bb
treed61b4d225b95cc1eb6d21805fff7a119a0591395
parent6bef73b55e0d24f04308af4cda354ad0c8726db6
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