]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: sof-pci-dev: fix missing pci_release_regions() on error in sof_pci_probe()
authorYang Yingliang <yangyingliang@huawei.com>
Tue, 26 Apr 2022 13:25:39 +0000 (21:25 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 29 Apr 2022 12:06:19 +0000 (13:06 +0100)
commitc5fa6313a6ec34915b841dc96492d38b319b61ef
treeba6cf33520c3d4327179d2d1a2c77aa0cc15948a
parent472526e410640a5650d19f557e61a88af8e1745a
ASoC: SOF: sof-pci-dev: fix missing pci_release_regions() on error in sof_pci_probe()

Fix the missing pci_release_regions() before return
from sof_pci_probe() in the error handling case.

Fixes: 82c7b9017e60 ("ASOC: SOF: pci: add ipc_type override for Intel IPC4 tests")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20220426132539.416676-1-yangyingliang@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/sof-pci-dev.c