[02/11] Clear out MANTIS_INT_RISCSTAT when printing status bits.
Commit Message
From: "Steinar H. Gunderson" <sesse@samfundet.no>
Clear out MANTIS_INT_RISCSTAT for debugging, so that status words
from the RISC do not show up as "Unknown" bits in the debug display.
Signed-off-by: Steinar H. Gunderson <sesse@samfundet.no>
---
drivers/media/dvb/mantis/mantis_cards.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
@@ -141,7 +141,8 @@ static irqreturn_t mantis_irq_handler(int irq, void *dev_id)
wake_up(&mantis->i2c_wq);
}
mmwrite(stat, MANTIS_INT_STAT);
- stat &= ~(MANTIS_INT_RISCEN | MANTIS_INT_I2CDONE |
+ stat &= ~(MANTIS_INT_RISCSTAT |
+ MANTIS_INT_RISCEN | MANTIS_INT_I2CDONE |
MANTIS_INT_I2CRACK | MANTIS_INT_PCMCIA7 |
MANTIS_INT_PCMCIA6 | MANTIS_INT_PCMCIA5 |
MANTIS_INT_PCMCIA4 | MANTIS_INT_PCMCIA3 |