summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>2016-06-27 14:09:18 +0200
committerFelipe Balbi <felipe.balbi@linux.intel.com>2016-06-29 10:07:27 +0200
commit0d7995031a8e7a34e5638d57a44a51aae39e321c (patch)
treeb7a707b401657d0af8b4692e7bf65b9a21d257c7 /drivers/usb
parentusb: renesas_usbhs: make usbhs_write32() static (diff)
downloadlinux-0d7995031a8e7a34e5638d57a44a51aae39e321c.tar.xz
linux-0d7995031a8e7a34e5638d57a44a51aae39e321c.zip
usb: renesas_usbhs: show error code when probe failed
To know why the driver probing failed, this patch shows error code. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/renesas_usbhs/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/renesas_usbhs/common.c b/drivers/usb/renesas_usbhs/common.c
index baeb7d23bf24..8fbbc2d32371 100644
--- a/drivers/usb/renesas_usbhs/common.c
+++ b/drivers/usb/renesas_usbhs/common.c
@@ -697,7 +697,7 @@ probe_end_fifo_exit:
probe_end_pipe_exit:
usbhs_pipe_remove(priv);
- dev_info(&pdev->dev, "probe failed\n");
+ dev_info(&pdev->dev, "probe failed (%d)\n", ret);
return ret;
}