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 baeb7d23bf2467b6a0a2a6780b0bd3e07bb168e1..8fbbc2d32371a973f4f3bd166c302cf0ece29267 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;
 }