diff options
| author | Johan Hovold <[email protected]> | 2014-05-26 19:23:45 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2014-05-27 15:04:09 -0700 |
| commit | 5292afa657d0e790b7479ad8eef9450c1e040b3d (patch) | |
| tree | 46a9bbf25625e66c77922f08e61ed68ebabc2374 /tools/perf/scripts/python/netdev-times.py | |
| 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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions