|
@@ -282,7 +282,8 @@ static void musb_otg_notifier_work(struct work_struct *data_notifier_work)
|
|
|
|
|
|
static int omap2430_musb_init(struct musb *musb)
|
|
|
{
|
|
|
- u32 l, status = 0;
|
|
|
+ u32 l;
|
|
|
+ int status = 0;
|
|
|
struct device *dev = musb->controller;
|
|
|
struct musb_hdrc_platform_data *plat = dev->platform_data;
|
|
|
struct omap_musb_board_data *data = plat->board_data;
|
|
@@ -301,7 +302,7 @@ static int omap2430_musb_init(struct musb *musb)
|
|
|
|
|
|
status = pm_runtime_get_sync(dev);
|
|
|
if (status < 0) {
|
|
|
- dev_err(dev, "pm_runtime_get_sync FAILED");
|
|
|
+ dev_err(dev, "pm_runtime_get_sync FAILED %d\n", status);
|
|
|
goto err1;
|
|
|
}
|
|
|
|