Bläddra i källkod

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>
Peter Chen 10 år sedan
förälder
incheckning
9d2effea12
1 ändrade filer med 0 tillägg och 1 borttagningar
  1. 0 1
      drivers/usb/chipidea/otg_fsm.c

+ 0 - 1
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;