aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/otg/langwell_otg.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/otg/langwell_otg.c')
-rw-r--r--drivers/usb/otg/langwell_otg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/otg/langwell_otg.c b/drivers/usb/otg/langwell_otg.c
index 7f9b8cd4514b..e973ff19c55a 100644
--- a/drivers/usb/otg/langwell_otg.c
+++ b/drivers/usb/otg/langwell_otg.c
@@ -580,7 +580,7 @@ static void langwell_otg_add_ktimer(enum langwell_otg_timer_type timers)
580 time = TB_BUS_SUSPEND; 580 time = TB_BUS_SUSPEND;
581 break; 581 break;
582 default: 582 default:
583 dev_dbg(lnw->dev, "unkown timer, cannot enable it\n"); 583 dev_dbg(lnw->dev, "unknown timer, cannot enable it\n");
584 return; 584 return;
585 } 585 }
586 586
@@ -1381,7 +1381,7 @@ static void langwell_otg_work(struct work_struct *work)
1381 } else if (!iotg->hsm.a_bus_req && iotg->otg.host && 1381 } else if (!iotg->hsm.a_bus_req && iotg->otg.host &&
1382 iotg->otg.host->b_hnp_enable) { 1382 iotg->otg.host->b_hnp_enable) {
1383 /* It is not safe enough to do a fast 1383 /* It is not safe enough to do a fast
1384 * transistion from A_WAIT_BCON to 1384 * transition from A_WAIT_BCON to
1385 * A_SUSPEND */ 1385 * A_SUSPEND */
1386 msleep(10000); 1386 msleep(10000);
1387 if (iotg->hsm.a_bus_req) 1387 if (iotg->hsm.a_bus_req)