diff options
author | Mark Brown <broonie@kernel.org> | 2019-04-05 10:19:10 +0700 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-04-05 10:19:10 +0700 |
commit | e1a7d1673062a6a9160b1fc94e1540b747398e01 (patch) | |
tree | 77ed1ca15537d1ae04a6ab0ff6128567c0fa497e /drivers/spi/spi-fsl-lpspi.c | |
parent | 9fda6693335cd51b0a74cffaac266c83439f7efe (diff) | |
parent | a026525d4e45e3d9690bffd0b05d018ff5638b5a (diff) | |
download | linux-e1a7d1673062a6a9160b1fc94e1540b747398e01.tar.gz linux-e1a7d1673062a6a9160b1fc94e1540b747398e01.tar.bz2 linux-e1a7d1673062a6a9160b1fc94e1540b747398e01.zip |
Merge branch 'spi-5.1' into spi-5.2
Diffstat (limited to 'drivers/spi/spi-fsl-lpspi.c')
-rw-r--r-- | drivers/spi/spi-fsl-lpspi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/spi/spi-fsl-lpspi.c b/drivers/spi/spi-fsl-lpspi.c index 2ad9d6262c2b..33b6a8affd55 100644 --- a/drivers/spi/spi-fsl-lpspi.c +++ b/drivers/spi/spi-fsl-lpspi.c @@ -77,7 +77,7 @@ #define CFGR1_PCSPOL BIT(8) #define CFGR1_NOSTALL BIT(3) #define CFGR1_MASTER BIT(0) -#define FSR_RXCOUNT (BIT(16)|BIT(17)|BIT(18)) +#define FSR_TXCOUNT (0xFF) #define RSR_RXEMPTY BIT(1) #define TCR_CPOL BIT(31) #define TCR_CPHA BIT(30) @@ -771,7 +771,7 @@ static irqreturn_t fsl_lpspi_isr(int irq, void *dev_id) } if (temp_SR & SR_MBF || - readl(fsl_lpspi->base + IMX7ULP_FSR) & FSR_RXCOUNT) { + readl(fsl_lpspi->base + IMX7ULP_FSR) & FSR_TXCOUNT) { writel(SR_FCF, fsl_lpspi->base + IMX7ULP_SR); fsl_lpspi_intctrl(fsl_lpspi, IER_FCIE); return IRQ_HANDLED; |