linux-uconsole/drivers/usb/class
Johan Hovold 4421a014e9 USB: cdc-acm: fix runtime PM imbalance at shutdown
commit 5292afa657 upstream.

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: 11ea859d64 ("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>
2014-06-26 15:12:40 -04:00
..
cdc-acm.c USB: cdc-acm: fix runtime PM imbalance at shutdown 2014-06-26 15:12:40 -04:00
cdc-acm.h USB: cdc-acm: fix broken runtime suspend 2014-06-26 15:12:39 -04:00
cdc-wdm.c usb: cdc-wdm: manage_power should always set needs_remote_wakeup 2014-01-09 12:24:20 -08:00
Kconfig USB: regroup all depends on USB within an if USB block 2013-04-09 16:49:07 -07:00
Makefile
usblp.c USB: usblp.c: remove dbg() usage 2012-05-01 21:33:31 -07:00
usbtmc.c USB: usbtmc: remove unnecessary memory allocation 2013-04-19 10:20:41 -07:00