aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/otg/otg_fsm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/otg/otg_fsm.c')
-rw-r--r--drivers/usb/otg/otg_fsm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/otg/otg_fsm.c b/drivers/usb/otg/otg_fsm.c
index ade131a8ae5e..1f729a15decb 100644
--- a/drivers/usb/otg/otg_fsm.c
+++ b/drivers/usb/otg/otg_fsm.c
@@ -119,7 +119,7 @@ int otg_set_state(struct otg_fsm *fsm, enum usb_otg_state new_state)
119 state_changed = 1; 119 state_changed = 1;
120 if (fsm->otg->phy->state == new_state) 120 if (fsm->otg->phy->state == new_state)
121 return 0; 121 return 0;
122 VDBG("Set state: %s\n", otg_state_string(new_state)); 122 VDBG("Set state: %s\n", usb_otg_state_string(new_state));
123 otg_leave_state(fsm, fsm->otg->phy->state); 123 otg_leave_state(fsm, fsm->otg->phy->state);
124 switch (new_state) { 124 switch (new_state) {
125 case OTG_STATE_B_IDLE: 125 case OTG_STATE_B_IDLE: