diff options
author | 2016-02-09 19:10:32 +0100 | |
---|---|---|
committer | 2016-02-10 08:02:27 +0000 | |
commit | fe0e2304f560f81c1673711ac3f9a8c7c3cbb8be (patch) | |
tree | 7433ff63a26e3e37f74c700e724c661deb9cabfb /drivers/spi/spi-bcm2835aux.c | |
parent | Linux 4.5-rc1 (diff) | |
download | linux-fe0e2304f560f81c1673711ac3f9a8c7c3cbb8be.tar.gz linux-fe0e2304f560f81c1673711ac3f9a8c7c3cbb8be.tar.bz2 linux-fe0e2304f560f81c1673711ac3f9a8c7c3cbb8be.zip |
spi: bcm2835aux: fix bitmask defines
The bitmasks for txempty and idle interrupts were interchanged.
Signed-off-by: Stephan Olbrich <stephanolbrich@gmx.de>
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-bcm2835aux.c')
-rw-r--r-- | drivers/spi/spi-bcm2835aux.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/spi/spi-bcm2835aux.c b/drivers/spi/spi-bcm2835aux.c index 7de6f8472a81..ecc73c0a97cf 100644 --- a/drivers/spi/spi-bcm2835aux.c +++ b/drivers/spi/spi-bcm2835aux.c @@ -73,8 +73,8 @@ /* Bitfields in CNTL1 */ #define BCM2835_AUX_SPI_CNTL1_CSHIGH 0x00000700 -#define BCM2835_AUX_SPI_CNTL1_IDLE 0x00000080 -#define BCM2835_AUX_SPI_CNTL1_TXEMPTY 0x00000040 +#define BCM2835_AUX_SPI_CNTL1_TXEMPTY 0x00000080 +#define BCM2835_AUX_SPI_CNTL1_IDLE 0x00000040 #define BCM2835_AUX_SPI_CNTL1_MSBF_IN 0x00000002 #define BCM2835_AUX_SPI_CNTL1_KEEP_IN 0x00000001 |