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, 27 May 2014 22:04:05 +0000 (15:04 -0700)
commitacf47d4f9c39b1cba467aa9442fc2efe0b1da741
tree1bd6c36ba7e746904685ab0ef6627eef0b682af4
parentc2e45d704723723e5691c7b4bcd0ff4aeb813522
USB: option: fix runtime PM handling

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")

Cc: <stable@vger.kernel.org> # v2.6.32
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/option.c