aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@freescale.com>2015-07-15 01:56:26 -0400
committerPeter Chen <peter.chen@freescale.com>2015-08-13 21:13:11 -0400
commit9d2effea12a3a7139daf04a2be97f18d3e6913a3 (patch)
tree7c891b3c80a45f73b9be26964990f1af7300de1c
parent3520d462b95fff1c445faec6f54953cd8da25ca7 (diff)
usb: chipidea: otg_fsm: delete the duplicated reset controller operation
At host_stop, it will call usb_remove_hcd, and reset controller later. Signed-off-by: Peter Chen <peter.chen@freescale.com>
-rw-r--r--drivers/usb/chipidea/otg_fsm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/chipidea/otg_fsm.c b/drivers/usb/chipidea/otg_fsm.c
index 19d655a743b5..00ab59d45da1 100644
--- a/drivers/usb/chipidea/otg_fsm.c
+++ b/drivers/usb/chipidea/otg_fsm.c
@@ -525,7 +525,6 @@ static int ci_otg_start_host(struct otg_fsm *fsm, int on)
525 ci_role_start(ci, CI_ROLE_HOST); 525 ci_role_start(ci, CI_ROLE_HOST);
526 } else { 526 } else {
527 ci_role_stop(ci); 527 ci_role_stop(ci);
528 hw_device_reset(ci);
529 ci_role_start(ci, CI_ROLE_GADGET); 528 ci_role_start(ci, CI_ROLE_GADGET);
530 } 529 }
531 return 0; 530 return 0;