From: Peter Chen Date: Wed, 15 Jul 2015 05:56:26 +0000 (+0800) Subject: usb: chipidea: otg_fsm: delete the duplicated reset controller operation X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9d2effea12a3a7139daf04a2be97f18d3e6913a3;p=linux-beck.git 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 --- 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;