diff options
author | Peter Chen <peter.chen@freescale.com> | 2015-07-15 13:56:26 +0800 |
---|---|---|
committer | Peter Chen <peter.chen@freescale.com> | 2015-08-14 09:13:11 +0800 |
commit | 9d2effea12a3a7139daf04a2be97f18d3e6913a3 (patch) | |
tree | 7c891b3c80a45f73b9be26964990f1af7300de1c /drivers/usb | |
parent | 3520d462b95fff1c445faec6f54953cd8da25ca7 (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>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/chipidea/otg_fsm.c | 1 |
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) ci_role_start(ci, CI_ROLE_HOST); } else { ci_role_stop(ci); - hw_device_reset(ci); ci_role_start(ci, CI_ROLE_GADGET); } return 0; |