mbox series

[0/1,SRU,OEM-5.13/U] Fix firmware reload failure of MT7921

Message ID 20210719090701.429455-1-aaron.ma@canonical.com
Headers show
Series Fix firmware reload failure of MT7921 | expand

Message

Aaron Ma July 19, 2021, 9:07 a.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1936790

SRU justification:

[Impact]
MT7921 is supported on 5.13 kernel, mt76 driver failed to work when
reboot.
SRUed for 5.13+ kernel only.

[Fix]
MT7921 needs both driver and firmware, firmware is SRUed.
When reboot, the firmware is already reloaded, driver probe breaks.
Continue to probe if firmware status is OK.

[Test]
Verified on hardware, After reboot system wifi works fine.

[Where problems could occur]
The MT7921 wifi may not work.

Aaron Ma (1):
  mt76: mt7921: continue to probe driver when fw already downloaded

 drivers/net/wireless/mediatek/mt76/mt7921/mcu.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Timo Aaltonen July 28, 2021, 8:58 a.m. UTC | #1
On 19.7.2021 12.07, Aaron Ma wrote:
> BugLink: https://bugs.launchpad.net/bugs/1936790
> 
> SRU justification:
> 
> [Impact]
> MT7921 is supported on 5.13 kernel, mt76 driver failed to work when
> reboot.
> SRUed for 5.13+ kernel only.
> 
> [Fix]
> MT7921 needs both driver and firmware, firmware is SRUed.
> When reboot, the firmware is already reloaded, driver probe breaks.
> Continue to probe if firmware status is OK.
> 
> [Test]
> Verified on hardware, After reboot system wifi works fine.
> 
> [Where problems could occur]
> The MT7921 wifi may not work.
> 
> Aaron Ma (1):
>    mt76: mt7921: continue to probe driver when fw already downloaded
> 
>   drivers/net/wireless/mediatek/mt76/mt7921/mcu.c | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
> 

applied to oem-5.13, thanks