diff options
author | Stephan Olbrich <stephanolbrich@gmx.de> | 2016-02-09 13:10:32 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-02-10 03:02:27 -0500 |
commit | fe0e2304f560f81c1673711ac3f9a8c7c3cbb8be (patch) | |
tree | 7433ff63a26e3e37f74c700e724c661deb9cabfb | |
parent | 92e963f50fc74041b5e9e744c330dca48e04f08d (diff) |
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>
-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 @@ | |||
73 | 73 | ||
74 | /* Bitfields in CNTL1 */ | 74 | /* Bitfields in CNTL1 */ |
75 | #define BCM2835_AUX_SPI_CNTL1_CSHIGH 0x00000700 | 75 | #define BCM2835_AUX_SPI_CNTL1_CSHIGH 0x00000700 |
76 | #define BCM2835_AUX_SPI_CNTL1_IDLE 0x00000080 | 76 | #define BCM2835_AUX_SPI_CNTL1_TXEMPTY 0x00000080 |
77 | #define BCM2835_AUX_SPI_CNTL1_TXEMPTY 0x00000040 | 77 | #define BCM2835_AUX_SPI_CNTL1_IDLE 0x00000040 |
78 | #define BCM2835_AUX_SPI_CNTL1_MSBF_IN 0x00000002 | 78 | #define BCM2835_AUX_SPI_CNTL1_MSBF_IN 0x00000002 |
79 | #define BCM2835_AUX_SPI_CNTL1_KEEP_IN 0x00000001 | 79 | #define BCM2835_AUX_SPI_CNTL1_KEEP_IN 0x00000001 |
80 | 80 | ||