linux-stable/sound/soc
Greg Kroah-Hartman 5b3a68a1cf ASoC: cs43130: handle errors in cs43130_probe() properly
[ Upstream commit 2da441a649 ]

cs43130_probe() does not do any valid error checking of things it
initializes, OR what it does, it does not unwind properly if there are
errors.

Fix this up by moving the sysfs files to an attribute group so the
driver core will correctly add/remove them all at once and handle errors
with them, and correctly check for creating a new workqueue and
unwinding if that fails.

Cc: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20210503115736.2104747-58-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-06-03 08:59:10 +02:00
..
adi
amd ASoC: amd: change clk_get() to devm_clk_get() and add missed checks 2020-12-30 11:51:22 +01:00
atmel
au1x
bcm
cirrus
codecs ASoC: cs43130: handle errors in cs43130_probe() properly 2021-06-03 08:59:10 +02:00
dwc
fsl ASoC: fsl_esai: Fix TDM slot setup for I2S mode 2021-04-21 12:56:14 +02:00
generic ASoC: simple-card: fix possible uninitialized single_cpu local variable 2021-05-14 09:44:27 +02:00
hisilicon
img
intel ASoC: Intel: bytcr_rt5640: Add quirk for the Chuwi Hi8 tablet 2021-05-19 10:08:21 +02:00
jz4740 ASoC: jz4740-i2s: add missed checks for clk_get() 2020-12-30 11:51:18 +01:00
kirkwood
mediatek
meson ASoC: meson: axg-tdmin: fix axg skew offset 2021-01-19 18:26:16 +01:00
mxs
pxa
qcom ASoC: qcom: lpass-platform: Fix memory leak 2020-11-24 13:29:07 +01:00
rockchip
samsung ASoC: samsung: tm2_wm5110: check of of_parse return value 2021-05-14 09:44:11 +02:00
sh ASoC: rsnd: check all BUSIF status when error 2021-05-19 10:08:33 +02:00
sirf
sof ASoC: SOF: Intel: HDA: fix core status verification 2021-04-14 08:24:14 +02:00
spear
sprd
sti
stm
sunxi ASoC: sunxi: sun4i-codec: fill ASoC card owner 2021-04-14 08:24:15 +02:00
tegra
ti
txx9
uniphier
ux500
xilinx
xtensa
zte
Kconfig
Makefile
soc-ac97.c
soc-acpi.c
soc-component.c
soc-compress.c
soc-core.c
soc-dai.c
soc-dapm.c ASoC: dapm: remove widget from dirty list on free 2021-01-19 18:26:11 +01:00
soc-devres.c
soc-generic-dmaengine-pcm.c
soc-io.c
soc-jack.c
soc-ops.c
soc-pcm.c ASoC: pcm: DRAIN support reactivation 2020-12-30 11:51:04 +01:00
soc-topology.c ASoC: topology: Fix memory corruption in soc_tplg_denum_create_values() 2021-02-03 23:26:01 +01:00
soc-utils.c