summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/usb_wwan.c
diff options
context:
space:
mode:
authorJohan Hovold <jhovold@gmail.com>2014-05-26 19:23:25 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-28 00:04:07 +0200
commitb0f9d0030df8120713705c350fba8676f3556709 (patch)
tree7d1b528c8968593fd0a37e193f9f95cc46edc462 /drivers/usb/serial/usb_wwan.c
parentUSB: usb_wwan: kill interrupt urb explicitly at suspend (diff)
downloadlinux-b0f9d0030df8120713705c350fba8676f3556709.tar.xz
linux-b0f9d0030df8120713705c350fba8676f3556709.zip
USB: usb_wwan: make resume error messages uniform
Make resume error messages uniform. Signed-off-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/serial/usb_wwan.c')
-rw-r--r--drivers/usb/serial/usb_wwan.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/usb/serial/usb_wwan.c b/drivers/usb/serial/usb_wwan.c
index b671d59e356e..3737006930c0 100644
--- a/drivers/usb/serial/usb_wwan.c
+++ b/drivers/usb/serial/usb_wwan.c
@@ -672,8 +672,9 @@ int usb_wwan_resume(struct usb_serial *serial)
urb = portdata->in_urbs[j];
err = usb_submit_urb(urb, GFP_ATOMIC);
if (err < 0) {
- dev_err(&port->dev, "%s: Error %d for bulk URB %d\n",
- __func__, err, i);
+ dev_err(&port->dev,
+ "%s: submit read urb %d failed: %d\n",
+ __func__, i, err);
err_count++;
}
}