EHCI reset bit was not being set correctly

This commit is contained in:
Gregory Nutt 2013-08-25 10:46:41 -06:00
parent f1a20f49ff
commit bea6894bd7

View File

@ -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