]> git.baikalelectronics.ru Git - kernel.git/commit
USB: sierra: clean up suspend
authorJohan Hovold <jhovold@gmail.com>
Mon, 26 May 2014 17:23:06 +0000 (19:23 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 May 2014 22:04:04 +0000 (15:04 -0700)
commit7fd2c0f5718b77a9e176b0d9adef1b7d1f2a3ba5
tree62295525f4035cb43e963300986672c573fc7e7b
parenta4a6ba3692cae29d36e9b15b658964cf7cd34c47
USB: sierra: clean up suspend

Clean up suspend() somewhat and make sure to always set the suspended
flag (although it's only used for runtime PM) in order to match
resume().

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