mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 18:43:33 +02:00
mt76: mt7921: reinit wpdma during drv_own if necessary
Check dummy reg to reinitialized WPDMA during driver_own operation Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
51252cc56e
commit
3df932141e
|
|
@ -1308,6 +1308,8 @@ int mt7921_mcu_drv_pmctrl(struct mt7921_dev *dev)
|
|||
err = -EIO;
|
||||
goto out;
|
||||
}
|
||||
|
||||
mt7921_wpdma_reinit_cond(dev);
|
||||
clear_bit(MT76_STATE_PM, &mphy->state);
|
||||
|
||||
pm->stats.last_wake_event = jiffies;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user