USB: option: fix runtime PM handling
authorJohan Hovold <jhovold@gmail.com>
Mon, 26 May 2014 17:23:10 +0000 (19:23 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 1 Jul 2014 03:01:30 +0000 (20:01 -0700)
commit3dc4a23faeecedad2f9195eaa355755a8a986526
tree7175b7c523330692f0478fa0a9d56e36aea0405f
parent1038502e6381461ecc253032a2e829277649dc85
USB: option: fix runtime PM handling

commit acf47d4f9c39b1cba467aa9442fc2efe0b1da741 upstream.

Fix potential I/O while runtime suspended due to missing PM operations
in send_setup.

Fixes: 383cedc3bb43 ("USB: serial: full autosuspend support for the
option driver")

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/option.c