Home
last modified time | relevance | path

Searched hist:b0a9aa6da8088b722326a858ab572a13b5b6f9cb (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/usb/serial/
H A Dusb-wwan.hdiff b0a9aa6da8088b722326a858ab572a13b5b6f9cb Mon May 26 12:23:32 CDT 2014 Johan Hovold <jhovold@gmail.com> 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>
H A Dusb_wwan.cdiff b0a9aa6da8088b722326a858ab572a13b5b6f9cb Mon May 26 12:23:32 CDT 2014 Johan Hovold <jhovold@gmail.com> 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>