From: Johan Hovold Date: Mon, 26 May 2014 17:23:32 +0000 (+0200) Subject: USB: usb_wwan: do not resume I/O on closing ports X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~34^2~99 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0a9aa6da8088b722326a858ab572a13b5b6f9cb;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed