From: Johan Hovold Date: Mon, 26 May 2014 17:23:48 +0000 (+0200) Subject: USB: cdc-acm: minimise no-suspend window during shutdown X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~34^2~83 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1d42efc217fdc1a6a704b344fd902ae52a012c8;p=pandora-kernel.git USB: cdc-acm: minimise no-suspend window during shutdown Now that acm_set_control() handles runtime PM properly, the only remaining reason for the PM operations in shutdown is to clear the needs_remote_wakeup flag before the final put. Note that this also means that we now need to grab the write_lock to prevent racing with resume. Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed