]> 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)
commit7c01d7b69c04a998a90960ebca3d1837232af01b
treed61b4d225b95cc1eb6d21805fff7a119a0591395
parentb5a398d5910458a10db63a7ee47a48240dd005dc
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