]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: amd: add missing platform_device_unregister in acp_pci_rn_probe
authorZheng Bin <zhengbin13@huawei.com>
Thu, 12 May 2022 01:37:28 +0000 (09:37 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 12 May 2022 10:41:33 +0000 (11:41 +0100)
commit0246044fa8224bc16e2d686fb07896fe7888f4e2
tree40a1be5e5a8d0a4dfda94a2aa3f4eb97ba0d8f04
parent2fb6852f4d596c30543b4ebf4ee750345a31f4fb
ASoC: SOF: amd: add missing platform_device_unregister in acp_pci_rn_probe

acp_pci_rn_probe misses a call platform_device_unregister in error path,
this patch fixes that.

Signed-off-by: Zheng Bin <zhengbin13@huawei.com>
Link: https://lore.kernel.org/r/20220512013728.4128903-1-zhengbin13@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/amd/pci-rn.c