]> git.baikalelectronics.ru Git - kernel.git/commit
mt76: mt76x0e: fix device hang during suspend/resume
authorLorenzo Bianconi <lorenzo@kernel.org>
Fri, 7 May 2021 16:50:19 +0000 (18:50 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 15 May 2021 11:46:59 +0000 (14:46 +0300)
commit509559c35bcd23d5a046624b225cb3e99a9f1481
treeb89bd7164470c4f1363f3dba247961a0ace0b635
parent94bb18b03d43f32e9440e8e350b7f533137c40f6
mt76: mt76x0e: fix device hang during suspend/resume

Similar to usb device, re-initialize mt76x0e device after resume in order
to fix mt7630e hang during suspend/resume

Reported-by: Luca Trombin <luca.trombin@gmail.com>
Fixes: c2a4d9fbabfb9 ("mt76x0: inital split between pci and usb")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/4812f9611624b34053c1592fd9c175b67d4ffcb4.1620406022.git.lorenzo@kernel.org
drivers/net/wireless/mediatek/mt76/mt76x0/pci.c