We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00ff523 commit 78b2175Copy full SHA for 78b2175
drivers/net/wireless/mediatek/mt76/mt7921/mcu.c
@@ -720,6 +720,17 @@ static int mt7921_load_patch(struct mt7921_dev *dev)
720
if (ret)
721
dev_err(dev->mt76.dev, "Failed to start patch\n");
722
723
+ if (mt76_is_sdio(&dev->mt76)) {
724
+ /* activate again */
725
+ ret = __mt7921_mcu_fw_pmctrl(dev);
726
+ if (ret)
727
+ return ret;
728
+
729
+ ret = __mt7921_mcu_drv_pmctrl(dev);
730
731
732
+ }
733
734
out:
735
sem = mt76_connac_mcu_patch_sem_ctrl(&dev->mt76, false);
736
switch (sem) {
0 commit comments