mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 05:16:57 +00:00
wifi: mt76: mt7915: poll the correct SLP CTRL register for the second adie
The clock enable path for the second adie sets MT_ADIE_SLP_CTRL_CK0(1)
but polled the busy bit of MT_ADIE_SLP_CTRL_CK0(0), so dual-adie
bring-up could proceed before the adie1 clock was stable.
Fixes: 99ad32a4ca3a ("mt76: mt7915: add support for MT7986")
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
+1
-1
@@ -914,7 +914,7 @@ static void mt7986_wmac_clock_enable(struct mt7915_dev *dev, u32 adie_type)
|
||||
|
||||
read_poll_timeout(mt76_rr, cur, !(cur & MT_SLP_CTRL_BSY_MASK),
|
||||
USEC_PER_MSEC, 50 * USEC_PER_MSEC, false,
|
||||
dev, MT_ADIE_SLP_CTRL_CK0(0));
|
||||
dev, MT_ADIE_SLP_CTRL_CK0(1));
|
||||
}
|
||||
mt76_wmac_spi_unlock(dev);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user