From: Johan Hovold Date: Mon, 26 May 2014 17:23:40 +0000 (+0200) Subject: USB: cdc-acm: fix shutdown and suspend race X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~34^2~91 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed797074031a37bb9bf4a70952fffc606b77274d;p=pandora-kernel.git USB: cdc-acm: fix shutdown and suspend race We should stop I/O unconditionally at suspend rather than rely on the tty-port initialised flag (which is set prior to stopping I/O during shutdown) in order to prevent suspend returning with URBs still active. Fixes: 11ea859d64b6 ("USB: additional power savings for cdc-acm devices that support remote wakeup") Cc: # v2.6.27 Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed