acrn-kernel/sound/soc
Ricardo Ribalda Delgado d9eaa90d7d ASoC: mediatek: mt8173: Fix snd_soc_component_initialize error path
commit a46d37012a upstream.

If the second component fails to initialize, cleanup the first on.

Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Cc: stable@kernel.org
Fixes: f1b5bf0736 ("ASoC: mt2701/mt8173: replace platform to component")
Signed-off-by: Ricardo Ribalda Delgado <ribalda@chromium.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20230612-mt8173-fixup-v2-1-432aa99ce24d@chromium.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-07-19 16:22:14 +02:00
..
adi
amd ASoC: amd: acp: clear pdm dma interrupt mask 2023-07-19 16:21:34 +02:00
apple
atmel
au1x
bcm
cirrus
codecs ASoC: es8316: Do not set rate constraints for unsupported MCLKs 2023-07-19 16:21:24 +02:00
dwc ASoC: dwc: move DMA init to snd_soc_dai_driver probe() 2023-06-21 16:00:53 +02:00
fsl ASoC: imx-audmix: check return value of devm_kasprintf() 2023-07-19 16:21:33 +02:00
generic ASoC: simple-card: Add missing of_node_put() in case of error 2023-06-28 11:12:37 +02:00
hisilicon
img
intel ASoC: Intel: sof_sdw: remove SOF_SDW_TGL_HDMI for MeteorLake devices 2023-07-19 16:21:18 +02:00
jz4740
kirkwood
mediatek ASoC: mediatek: mt8173: Fix snd_soc_component_initialize error path 2023-07-19 16:22:14 +02:00
meson
mxs
pxa
qcom
rockchip
samsung
sh
sof ASoC: SOF: pm: save io region state in case of errors in resume 2023-06-09 10:34:13 +02:00
spear
sprd
sti
stm
sunxi
tegra
ti
uniphier
ux500
xilinx
xtensa
Kconfig
Makefile
soc-ac97.c
soc-acpi.c
soc-card.c
soc-component.c
soc-compress.c ASoC: soc-compress: Inherit atomicity from DAI link for Compress FE 2023-05-11 23:03:28 +09:00
soc-core.c
soc-dai.c
soc-dapm.c
soc-devres.c
soc-generic-dmaengine-pcm.c
soc-jack.c
soc-link.c
soc-ops.c
soc-pcm.c ASoC: soc-pcm: test if a BE can be prepared 2023-06-21 16:00:53 +02:00
soc-topology-test.c
soc-topology.c
soc-utils-test.c
soc-utils.c