int retval = 0;
if (dwc2_check_core_status(hsotg) < 0) {
- dev_warn(hsotg->dev, "Controller is disconnected");
+ dev_warn(hsotg->dev, "Controller is disconnected\n");
goto out;
}
}
if (count > 250)
dev_err(hsotg->dev,
- "Connection id status change timed out");
+ "Connection id status change timed out\n");
hsotg->op_state = OTG_STATE_B_PERIPHERAL;
dwc2_core_init(hsotg, false, -1);
dwc2_enable_global_interrupts(hsotg);
}
if (count > 250)
dev_err(hsotg->dev,
- "Connection id status change timed out");
+ "Connection id status change timed out\n");
hsotg->op_state = OTG_STATE_A_HOST;
/* Initialize the Core for Host mode */
u16 i, j, inc;
if (!hsotg) {
- pr_err("hsotg = %p", hsotg);
+ pr_err("hsotg = %p\n", hsotg);
return;
}
if (!qh->channel) {
- dev_err(hsotg->dev, "qh->channel = %p", qh->channel);
+ dev_err(hsotg->dev, "qh->channel = %p\n", qh->channel);
return;
}
if (!hsotg->frame_list) {
- dev_err(hsotg->dev, "hsotg->frame_list = %p",
+ dev_err(hsotg->dev, "hsotg->frame_list = %p\n",
hsotg->frame_list);
return;
}
int retval = 0;
if (dwc2_check_core_status(hsotg) < 0) {
- dev_warn(hsotg->dev, "Controller is disconnected");
+ dev_warn(hsotg->dev, "Controller is disconnected\n");
return 0;
}