1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-10-04 03:54:11 +03:00

[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
This commit is contained in:
florian 2009-08-11 18:57:04 +00:00
parent 309acb3dfa
commit 0087a84b19

View File

@ -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) {