diff --git a/arch/arm/src/lpc31xx/lpc31_ehci.c b/arch/arm/src/lpc31xx/lpc31_ehci.c index 63f46b02bf..97b73fd96b 100644 --- a/arch/arm/src/lpc31xx/lpc31_ehci.c +++ b/arch/arm/src/lpc31xx/lpc31_ehci.c @@ -2313,20 +2313,9 @@ static int lpc31_async_setup(struct lpc31_rhport_s *rhport, } } - /* Disable the asynchronous schedule */ - - regval = lpc31_getreg(&HCOR->usbcmd); - regval &= ~EHCI_USBCMD_ASEN; - lpc31_putreg(regval, &HCOR->usbcmd); - /* Add the new QH to the head of the asynchronous queue list */ lpc31_qh_enqueue(&g_asynchead, qh); - - /* Re-enable the asynchronous schedule */ - - regval |= EHCI_USBCMD_ASEN; - lpc31_putreg(regval, &HCOR->usbcmd); return OK; /* Clean-up after an error */ diff --git a/arch/arm/src/sama5/sam_ehci.c b/arch/arm/src/sama5/sam_ehci.c index b23ef8964e..8c9276c1d1 100644 --- a/arch/arm/src/sama5/sam_ehci.c +++ b/arch/arm/src/sama5/sam_ehci.c @@ -2129,20 +2129,9 @@ static int sam_async_setup(struct sam_rhport_s *rhport, } } - /* Disable the asynchronous schedule */ - - regval = sam_getreg(&HCOR->usbcmd); - regval &= ~EHCI_USBCMD_ASEN; - sam_putreg(regval, &HCOR->usbcmd); - /* Add the new QH to the head of the asynchronous queue list */ sam_qh_enqueue(&g_asynchead, qh); - - /* Re-enable the asynchronous schedule */ - - regval |= EHCI_USBCMD_ASEN; - sam_putreg(regval, &HCOR->usbcmd); return OK; /* Clean-up after an error */