mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-11 17:34:57 +00:00
fix typo, INT_MASK is writable, INT_STATUS is not
SVN-Revision: 17229
This commit is contained in:
parent
8e10e1270c
commit
7610c78205
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user