From: Johan Hovold Date: Mon, 26 May 2014 17:23:45 +0000 (+0200) Subject: USB: cdc-acm: fix runtime PM imbalance at shutdown X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~34^2~86 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5292afa657d0e790b7479ad8eef9450c1e040b3d;p=pandora-kernel.git USB: cdc-acm: fix runtime PM imbalance at shutdown Make sure only to decrement the PM counters if they were actually incremented. Note that the USB PM counter, but not necessarily the driver core PM counter, is reset when the interface is unbound. Fixes: 11ea859d64b6 ("USB: additional power savings for cdc-acm devices that support remote wakeup") Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed