usb: chipidea: otg_fsm: delete the duplicated reset controller operation
authorPeter Chen <peter.chen@freescale.com>
Wed, 15 Jul 2015 05:56:26 +0000 (13:56 +0800)
committerPeter Chen <peter.chen@freescale.com>
Fri, 14 Aug 2015 01:13:11 +0000 (09:13 +0800)
At host_stop, it will call usb_remove_hcd, and reset controller later.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
drivers/usb/chipidea/otg_fsm.c

index 19d655a..00ab59d 100644 (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;