Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9d2effea authored by Peter Chen's avatar Peter Chen
Browse files

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: default avatarPeter Chen <peter.chen@freescale.com>
parent 3520d462
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;