drivers: spi: fix bad GENMASK in NXP LPSPI driver
Fixed swapped GENMASK arguments causing bad mask to be generated. Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
This commit is contained in:
parent
bb3a898dec
commit
ba0954848b
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@
|
|||
#define LPSPI_CHIP_SELECT_COUNT 4
|
||||
#define LPSPI_MIN_FRAME_SIZE_BITS 8
|
||||
|
||||
#define LPSPI_INTERRUPT_BITS GENMASK(8, 13)
|
||||
#define LPSPI_INTERRUPT_BITS GENMASK(13, 8)
|
||||
|
||||
/* Required by DEVICE_MMIO_NAMED_* macros */
|
||||
#define DEV_CFG(_dev) ((const struct lpspi_config *)(_dev)->config)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue