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>
This commit is contained in:
Zheng Bin 2022-05-12 09:37:28 +08:00 • committed by Mark Brown
commit cbcab8cd73
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0