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:12:39 +0000 (15:12 -0400)
commit60c64b0c78420677a41bc25e6bd2373219b100c3
treed61650c71d7c86bf8af4dbc3725f2ddaa5ba11df
parent67e8477bd13b64ab4805dbd639f13192b49034ba
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