usb: renesas_usbhs: show error code when probe failed
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Mon, 27 Jun 2016 12:09:18 +0000 (21:09 +0900)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 29 Jun 2016 08:07:27 +0000 (11:07 +0300)
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>
drivers/usb/renesas_usbhs/common.c

index baeb7d2..8fbbc2d 100644 (file)
@@ -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;
 }