wifi: mt76: mt792x: drop redundant MCU restart before firmware download
Subsystems (2)
PATCH 1/1 wifi: mt76: mt792x: drop redundant MCU restart before firmware download
Resetting the MCU state before firmware download is the legacy approach and causes problems on MT7928. The wfsys reset at probe already leaves the chip in a clean state, so drop the MCU restart and FW_PWR_ON poll.
Fixes 9eef868b86db ("wifi: mt76: mt792x: ensure MCU ready before ROM patch download")
Signed-off-by Emery Hsin <[email protected]>
--- drivers/net/wireless/mediatek/mt76/mt792x_core.c | 7 ------- 1 file changed, 7 deletions(-)
drivers/net/wireless/mediatek/mt76/mt792x_core.c +0 -7
@@ -1135,13 +1135,6 @@ int mt792x_load_firmware(struct mt792x_dev *dev) {int ret; -mt76_connac_mcu_restart (&dev->mt76); - -if (!mt76_poll_msec (dev,MT_CONN_ON_MISC ,MT_TOP_MISC_FW_STATE , -MT_TOP_MISC2_FW_PWR_ON ,1000 )) -dev_warn (dev->mt76.dev, -"MCU is not ready for firmware download\n" ); -if (is_mt7928 (&dev->mt76)) {dev_info (dev->mt76.dev,"Loading CB firmware patch: %s\n" ,mt792x_cb_patch_name (dev));
Signature · 1 line
2.45.2