1
0
Fork 0

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>
hifive-unleashed-5.1
Peter Chen 2015-07-15 13:56:26 +08:00
parent 3520d462b9
commit 9d2effea12
1 changed files with 0 additions and 1 deletions

View File

@ -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;