diff options
author | Florian Fainelli <florian@openwrt.org> | 2009-08-11 18:57:04 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2009-08-11 18:57:04 +0000 |
commit | cbd3f96b0dd5149900499f3ee77e432d36807a4e (patch) | |
tree | c51587c8f882b1ce71c418c14fccfd466630878f /target/linux/brcm63xx/files/drivers/spi/bcm63xx_spi.c | |
parent | 486b4ba5c0615bedc1d73c37e9678352937a909a (diff) | |
download | master-187ad058-cbd3f96b0dd5149900499f3ee77e432d36807a4e.tar.gz master-187ad058-cbd3f96b0dd5149900499f3ee77e432d36807a4e.tar.bz2 master-187ad058-cbd3f96b0dd5149900499f3ee77e432d36807a4e.zip |
[brcm63xx] fix typo, INT_MASK is writable, INT_STATUS is not
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17229 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/files/drivers/spi/bcm63xx_spi.c')
-rw-r--r-- | target/linux/brcm63xx/files/drivers/spi/bcm63xx_spi.c | 2 |
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 a53eb18197..a20de302d2 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) { |