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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Jun 2014 19:15:41 +0000 (15:15 -0400)
commit4c60d2f5dfad5a48f418191d01117c03a4afbef0
treeee487ab6c59568eb34f9490147148f912f24a595
parentef9bfefb7f9395ef376df34e43a208e1793a3fd8
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>
drivers/usb/class/cdc-acm.c