diff options
author | Peter Chen <peter.chen@freescale.com> | 2015-07-15 05:56:26 (GMT) |
---|---|---|
committer | Peter Chen <peter.chen@freescale.com> | 2015-08-14 01:13:11 (GMT) |
commit | 9d2effea12a3a7139daf04a2be97f18d3e6913a3 (patch) | |
tree | 7c891b3c80a45f73b9be26964990f1af7300de1c /drivers | |
parent | 3520d462b95fff1c445faec6f54953cd8da25ca7 (diff) | |
download | linux-9d2effea12a3a7139daf04a2be97f18d3e6913a3.tar.xz |
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')
-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 19d655a..00ab59d 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; |