summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-08-11 18:57:04 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-08-11 18:57:04 +0000
commit7610c782050248d35d1004ef34c05b77986dc2c2 (patch)
treee7269cc3f717d6e3d1cb46084f337148c8f01e07
parent8e10e1270cfd0d4df3f16ece3e78650f05ad29cd (diff)
downloadmtk-20170518-7610c782050248d35d1004ef34c05b77986dc2c2.zip
mtk-20170518-7610c782050248d35d1004ef34c05b77986dc2c2.tar.gz
mtk-20170518-7610c782050248d35d1004ef34c05b77986dc2c2.tar.bz2
fix typo, INT_MASK is writable, INT_STATUS is not
SVN-Revision: 17229
-rw-r--r--target/linux/brcm63xx/files/drivers/spi/bcm63xx_spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/brcm63xx/files/drivers/spi/bcm63xx_spi.c b/target/linux/brcm63xx/files/drivers/spi/bcm63xx_spi.c
index a53eb18..a20de30 100644
--- a/target/linux/brcm63xx/files/drivers/spi/bcm63xx_spi.c
+++ b/target/linux/brcm63xx/files/drivers/spi/bcm63xx_spi.c
@@ -237,7 +237,7 @@ static irqreturn_t bcm63xx_spi_interrupt(int irq, void *dev_id)
/* Read interupts and clear them immediately */
intr = bcm_spi_readb(bs->regs, SPI_INT_STATUS);
- bcm_spi_writeb(SPI_INTR_CLEAR_ALL, bs->regs, SPI_INT_STATUS);
+ bcm_spi_writeb(SPI_INTR_CLEAR_ALL, bs->regs, SPI_INT_MASK);
/* A tansfer completed */
if (intr & SPI_INTR_CMD_DONE) {