USB: sierra: fix resume error reporting
authorJohan Hovold <jhovold@gmail.com>
Mon, 26 May 2014 17:22:57 +0000 (19:22 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 May 2014 22:04:03 +0000 (15:04 -0700)
commitf4a2d499e7f0ea9089c8e537ddad12260f7aab69
tree5d29b553fe8285bade97f8a38dc91c4b0d0fd8a7
parentc9d838a898fe232dd51eb924a17cee346bcb697c
USB: sierra: fix resume error reporting

Add error message to resume error path and make sure to also return an
error when failing to submit a cached write.

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