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:11:53 +0000 (20:11 -0700)
commit683ba9dcad6a409736b635efa740679e42210935
tree8df67acb95656302e823b7f872c14284ad65200a
parent8a020be9aa9c82d1bee6fbb738ceecbd33863ce8
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