diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-08-25 10:46:41 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-08-25 10:46:41 -0600 |
commit | 5a080e4c38ba1fd5c9d395ef7186716056f4dd55 (patch) | |
tree | 27069a5e583869e4b205e52c68370f49d2598176 | |
parent | b1482777e08ffb43c5e695bb0b756169bda09382 (diff) | |
download | px4-nuttx-5a080e4c38ba1fd5c9d395ef7186716056f4dd55.tar.gz px4-nuttx-5a080e4c38ba1fd5c9d395ef7186716056f4dd55.tar.bz2 px4-nuttx-5a080e4c38ba1fd5c9d395ef7186716056f4dd55.zip |
EHCI reset bit was not being set correctly
-rwxr-xr-x | nuttx/arch/arm/src/sama5/sam_ehci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/arm/src/sama5/sam_ehci.c b/nuttx/arch/arm/src/sama5/sam_ehci.c index 130d4806a..d5de475fa 100755 --- a/nuttx/arch/arm/src/sama5/sam_ehci.c +++ b/nuttx/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 |