Skip to content
Commit 4e90db5e authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Felix Fietkau
Browse files

mt76: mt7921: Fix the error handling path of mt7921_pci_probe()

In case of error, some resources must be freed, as already done above and
below the devm_kmemdup() and __mt7921e_mcu_drv_pmctrl() calls added in the
commit in Fixes:.

Fixes: 602cc0c9

 ("mt76: mt7921e: fix possible probe failure after reboot")
Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent aa796f12
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment