mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-16 11:43:46 +00:00
mt76: mt7921: reset wfsys during hw probe
This patch fixes a mcu hang during device probe on Marvell ESPRESSObin after a hot reboot. Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
d74c4b5667
commit
01f7da4091
@ -402,6 +402,10 @@ int mt7921_dma_init(struct mt7921_dev *dev)
|
|||||||
if (ret)
|
if (ret)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
|
ret = mt7921_wfsys_reset(dev);
|
||||||
|
if (ret)
|
||||||
|
return ret;
|
||||||
|
|
||||||
/* init tx queue */
|
/* init tx queue */
|
||||||
ret = mt7921_init_tx_queues(&dev->phy, MT7921_TXQ_BAND0,
|
ret = mt7921_init_tx_queues(&dev->phy, MT7921_TXQ_BAND0,
|
||||||
MT7921_TX_RING_SIZE);
|
MT7921_TX_RING_SIZE);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user