X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/f0ce0e8aaec93957b676c2d0195afaab912a28f7..07537ed74301efdc7c26faf1acb4aa175c463696:/target/linux/brcm63xx/files/drivers/spi/bcm63xx_spi.c diff --git a/target/linux/brcm63xx/files/drivers/spi/bcm63xx_spi.c b/target/linux/brcm63xx/files/drivers/spi/bcm63xx_spi.c index a53eb1819..a20de302d 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) {