Skip to content

Commit

Permalink
drivers/usbhost/usbhost_max3421e.c: Fix unmatched SPI lock/unlock.
Browse files Browse the repository at this point in the history
  • Loading branch information
gregory-nutt committed Jul 31, 2018
1 parent d543937 commit 221bbad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions configs/metro-m4/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ STATUS
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.
2018-07-20: Brought in the USB driver from the SAML21. It is the same
USB IP with only small differences. There a a few, small open issues
still to be resolved.

Serial Console
==============
Expand Down
2 changes: 1 addition & 1 deletion drivers/usbhost/usbhost_max3421e.c
Original file line number Diff line number Diff line change
Expand Up @@ -3065,7 +3065,7 @@ static void max3421e_irqwork(FAR void *arg)

/* Get exclusive access to the SPI bus */

max3421e_unlock(priv);
max3421e_lock(priv);

/* Loop while there are pending interrupts to process. This loop may save a
* little interrupt handling overhead.
Expand Down

0 comments on commit 221bbad

Please sign in to comment.