From bea6894bd789da7f1ac313e8e13c4aff0a73da25 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 25 Aug 2013 10:46:41 -0600 Subject: [PATCH] EHCI reset bit was not being set correctly --- arch/arm/src/sama5/sam_ehci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/src/sama5/sam_ehci.c b/arch/arm/src/sama5/sam_ehci.c index 130d4806a3..d5de475fac 100755 --- a/arch/arm/src/sama5/sam_ehci.c +++ b/arch/arm/src/sama5/sam_ehci.c @@ -2798,7 +2798,7 @@ static int sam_enumerate(FAR struct usbhost_connection_s *conn, int rhpndx) regaddr = &HCOR->portsc[rhport->rhpndx]; regval = sam_getreg(regaddr); regval &= ~EHCI_PORTSC_PE; - regval &= EHCI_PORTSC_RESET; + regval |= EHCI_PORTSC_RESET; sam_putreg(regval, regaddr); /* USB 2.0 "Root hubs must provide an aggregate reset period of at least