drivers/usbhost/usbhost_max3421e.c: Fix an error in reading the pending interrupts. Aos fix a number of typos and update a README.

This commit is contained in:
Gregory Nutt 2018-07-29 15:06:44 -06:00
parent 754c8493ff
commit 41666dafa8
13 changed files with 18 additions and 14 deletions

View file

@ -3792,7 +3792,7 @@ static void efm32_txfe_enable(FAR struct efm32_usbhost_s *priv, int chidx)
* connection related event.
*
* Returned Value:
* Zero (OK) is returned on success when a device in connected or
* Zero (OK) is returned on success when a device is connected or
* disconnected. This function will not return until either (1) a device is
* connected or disconnect to/from any hub port or until (2) some failure
* occurs. On a failure, a negated errno value is returned indicating the

View file

@ -1934,7 +1934,7 @@ static int lpc17_usbinterrupt(int irq, void *context, FAR void *arg)
* connection related event.
*
* Returned Value:
* Zero (OK) is returned on success when a device in connected or
* Zero (OK) is returned on success when a device is connected or
* disconnected. This function will not return until either (1) a device is
* connected or disconnect to/from any hub port or until (2) some failure
* occurs. On a failure, a negated errno value is returned indicating the

View file

@ -3429,7 +3429,7 @@ static int lpc31_ehci_interrupt(int irq, FAR void *context, FAR void *arg)
* connection related event.
*
* Returned Value:
* Zero (OK) is returned on success when a device in connected or
* Zero (OK) is returned on success when a device is connected or
* disconnected. This function will not return until either (1) a device is
* connected or disconnect to/from any hub port or until (2) some failure
* occurs. On a failure, a negated errno value is returned indicating the

View file

@ -3266,7 +3266,7 @@ static int lpc43_ehci_interrupt(int irq, FAR void *context, FAR void *arg)
* connection related event.
*
* Returned Value:
* Zero (OK) is returned on success when a device in connected or
* Zero (OK) is returned on success when a device is connected or
* disconnected. This function will not return until either (1) a device is
* connected or disconnect to/from any hub port or until (2) some failure
* occurs. On a failure, a negated errno value is returned indicating the

View file

@ -3266,7 +3266,7 @@ static int sam_uhphs_interrupt(int irq, FAR void *context, FAR void *arg)
* connection related event.
*
* Returned Value:
* Zero (OK) is returned on success when a device in connected or
* Zero (OK) is returned on success when a device is connected or
* disconnected. This function will not return until either (1) a device is
* connected or disconnect to/from any hub port or until (2) some failure
* occurs. On a failure, a negated errno value is returned indicating the

View file

@ -2320,7 +2320,7 @@ static void sam_ohci_bottomhalf(void *arg)
* connection related event.
*
* Returned Value:
* Zero (OK) is returned on success when a device in connected or
* Zero (OK) is returned on success when a device is connected or
* disconnected. This function will not return until either (1) a device is
* connected or disconnect to/from any hub port or until (2) some failure
* occurs. On a failure, a negated errno value is returned indicating the

View file

@ -3821,7 +3821,7 @@ static void stm32_txfe_enable(FAR struct stm32_usbhost_s *priv, int chidx)
* connection related event.
*
* Returned Value:
* Zero (OK) is returned on success when a device in connected or
* Zero (OK) is returned on success when a device is connected or
* disconnected. This function will not return until either (1) a device is
* connected or disconnect to/from any hub port or until (2) some failure
* occurs. On a failure, a negated errno value is returned indicating the

View file

@ -3826,7 +3826,7 @@ static void stm32_txfe_enable(FAR struct stm32_usbhost_s *priv, int chidx)
* connection related event.
*
* Returned Value:
* Zero (OK) is returned on success when a device in connected or
* Zero (OK) is returned on success when a device is connected or
* disconnected. This function will not return until either (1) a device is
* connected or disconnect to/from any hub port or until (2) some failure
* occurs. On a failure, a negated errno value is returned indicating the

View file

@ -3820,7 +3820,7 @@ static void stm32_txfe_enable(FAR struct stm32_usbhost_s *priv, int chidx)
* connection related event.
*
* Returned Value:
* Zero (OK) is returned on success when a device in connected or
* Zero (OK) is returned on success when a device is connected or
* disconnected. This function will not return until either (1) a device is
* connected or disconnect to/from any hub port or until (2) some failure
* occurs. On a failure, a negated errno value is returned indicating the

View file

@ -3826,7 +3826,7 @@ static void stm32l4_txfe_enable(FAR struct stm32l4_usbhost_s *priv, int chidx)
* connection related event.
*
* Returned Value:
* Zero (OK) is returned on success when a device in connected or
* Zero (OK) is returned on success when a device is connected or
* disconnected. This function will not return until either (1) a device is
* connected or disconnect to/from any hub port or until (2) some failure
* occurs. On a failure, a negated errno value is returned indicating the

View file

@ -24,8 +24,12 @@ STATUS
2018-07-26: The basic port was merged into master. It is still
incomplete and untested. It is missing the clock configuration logic.
There is a placeholder from the SAML21, but it is currently stubbed out
in the Make.defs file). Configuration options in the board.h header
in the Make.defs file. Configuration options in the board.h header
file are bogus and also just cloned from the SAML21.
2018-07-29: Clock configuration logic now complete. board.h
configuration options still need to be verified. Unverified SERCOM
USART, SPI, I2C, Port configuration, and DMA support have been added.
I still have no hardware in hand to test.
Serial Console
==============

View file

@ -3201,7 +3201,7 @@ static inline void max3421e_int_disable(FAR struct max3421e_usbhost_s *priv,
static inline uint8_t max3421e_int_status(FAR struct max3421e_usbhost_s *priv)
{
return max3421e_getreg(priv, MAX3421E_USBHOST_HIEN) & priv->irqset;
return max3421e_getreg(priv, MAX3421E_USBHOST_HIRQ) & priv->irqset;
}
/****************************************************************************
@ -3217,7 +3217,7 @@ static inline uint8_t max3421e_int_status(FAR struct max3421e_usbhost_s *priv)
* connection related event.
*
* Returned Value:
* Zero (OK) is returned on success when a device in connected or
* Zero (OK) is returned on success when a device is connected or
* disconnected. This function will not return until either (1) a device is
* connected or disconnect to/from any hub port or until (2) some failure
* occurs. On a failure, a negated errno value is returned indicating the

View file

@ -176,7 +176,7 @@
* connection related event.
*
* Returned Value:
* Zero (OK) is returned on success when a device in connected or
* Zero (OK) is returned on success when a device is connected or
* disconnected. This function will not return until either (1) a device is
* connected or disconnect to/from any hub port or until (2) some failure
* occurs. On a failure, a negated errno value is returned indicating the