USB: cdc-acm: fix runtime PM for control messages
authorJohan Hovold <jhovold@gmail.com>
Mon, 26 May 2014 17:23:39 +0000 (19:23 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Fri, 11 Jul 2014 12:33:41 +0000 (13:33 +0100)
commit57eb9099f3842564bbca138d06069e5053fdb4df
tree592b1dc7bd53aa0900bc4121beb9423a951b774c
parentab05a2e4be115e07f18152b1569ae8522c4e76a3
USB: cdc-acm: fix runtime PM for control messages

commit bae3f4c53585e9a170da9436e0f06919874bda9a upstream.

Fix runtime PM handling of control messages by adding the required PM
counter operations.

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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/usb/class/cdc-acm.c