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-Tag: v4.3-rc1~156^2~34^2~16 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=9d2effea12a3a7139daf04a2be97f18d3e6913a3;p=linux.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;