commit | 5292afa657d0e790b7479ad8eef9450c1e040b3d | [log] [tgz] |
---|---|---|
author | Johan Hovold <jhovold@gmail.com> | Mon May 26 19:23:45 2014 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue May 27 15:04:09 2014 -0700 |
tree | 46a9bbf25625e66c77922f08e61ed68ebabc2374 | |
parent | e4c36076c2a6195ec62c35b03c3fde84d0087dc8 [diff] |
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 <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>