mt7603: adjust rx hang watchdog for MT7628

The MT7628 vendor driver checks a different DMA debug register compared to
MT7603.

Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Felix Fietkau
2018-05-19 10:48:33 +02:00
parent 0b8d1ddec9
commit 20c0766c8f
+3
View File
@@ -1284,6 +1284,9 @@ static u32 mt7603_dma_debug(struct mt7603_dev *dev, u8 index)
static bool mt7603_rx_fifo_busy(struct mt7603_dev *dev)
{
if (is_mt7628(dev))
return mt7603_dma_debug(dev, 9) & BIT(9);
return mt7603_dma_debug(dev, 2) & BIT(8);
}