mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
wifi: mt76: mt792x: fix scheduler interference in drv own process
Add some time to wait for LP engine to complete its operation before polling pmctrl register. Signed-off-by: Michael Lo <[email protected]> Signed-off-by: Ming Yen Hsieh <[email protected]> Tested-by: David Ruth <[email protected]> Acked-by: Sean Wang <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
e0b4763428
commit
3a367258d9
@@ -339,6 +339,9 @@ static int mt7921_pci_probe(struct pci_dev *pdev,
|
||||
bus_ops->rmw = mt7921_rmw;
|
||||
dev->mt76.bus = bus_ops;
|
||||
|
||||
if (!mt7921_disable_aspm && mt76_pci_aspm_supported(pdev))
|
||||
dev->aspm_supported = true;
|
||||
|
||||
ret = mt792xe_mcu_fw_pmctrl(dev);
|
||||
if (ret)
|
||||
goto err_free_dev;
|
||||
|
||||
Reference in New Issue
Block a user