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 19d655a743b55eb8e17f4308bc722a40bfe4e505..00ab59d45da1bf6708b3d77e3cfcfe31ac4e2304 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;