diff options
author | Johan Hovold <jhovold@gmail.com> | 2014-05-26 19:23:32 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-05-27 15:04:08 -0700 |
commit | b0a9aa6da8088b722326a858ab572a13b5b6f9cb (patch) | |
tree | db589f9068c18440b5687e3b9835bc5fa723dc41 /drivers/hid/hid-sunplus.c | |
parent | 8bb7ec65d600fd513aa94b50078a6329df612daa (diff) | |
download | op-kernel-dev-b0a9aa6da8088b722326a858ab572a13b5b6f9cb.zip op-kernel-dev-b0a9aa6da8088b722326a858ab572a13b5b6f9cb.tar.gz |
USB: usb_wwan: do not resume I/O on closing ports
Use tty-port initialised flag rather than private flag to determine when
port is closing down.
Since the tty-port flag is set prior to dropping DTR/RTS (when HUPCL is
set) this avoid submitting the read urbs when resuming the interface in
dtr_rts() only to immediately kill them again in shutdown().
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hid/hid-sunplus.c')
0 files changed, 0 insertions, 0 deletions