Commit 2dc24ee6 authored by Felix Fietkau's avatar Felix Fietkau

mt76: mt7615: clear mcu error interrupt status on mt7663

Should fix issues with error recovery
Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent 087baf9b
...@@ -135,6 +135,7 @@ static void mt7615_irq_tasklet(struct tasklet_struct *t) ...@@ -135,6 +135,7 @@ static void mt7615_irq_tasklet(struct tasklet_struct *t)
if (is_mt7663(&dev->mt76)) { if (is_mt7663(&dev->mt76)) {
mcu_int = mt76_rr(dev, MT_MCU2HOST_INT_STATUS); mcu_int = mt76_rr(dev, MT_MCU2HOST_INT_STATUS);
mcu_int &= MT7663_MCU_CMD_ERROR_MASK; mcu_int &= MT7663_MCU_CMD_ERROR_MASK;
mt76_wr(dev, MT_MCU2HOST_INT_STATUS, mcu_int);
} else { } else {
mcu_int = mt76_rr(dev, MT_MCU_CMD); mcu_int = mt76_rr(dev, MT_MCU_CMD);
mcu_int &= MT_MCU_CMD_ERROR_MASK; mcu_int &= MT_MCU_CMD_ERROR_MASK;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment