linux-stable/sound/soc
Harshit Mogalapalli 9e07f8bfd9
ASoC: cs42l43: Fix missing error code in cs42l43_codec_probe()
When clk_get_optional() fails, the error handling code does a 'goto
err_pm' with ret = 0, which is resturning success on a failure path.

Fix this by assigning the PTR_ERR(priv-mclk) to ret variable.

Fixes: fc918cbe87 ("ASoC: cs42l43: Add support for the cs42l43")
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com
Link: https://lore.kernel.org/r/20230829073635.1877367-1-harshit.m.mogalapalli@oracle.com
Signed-off-by: Mark Brown <broonie@kernel.org
2023-08-29 11:21:05 +01:00
..
adi ASoC: adi: merge DAI call back functions into ops 2023-08-14 13:10:03 +01:00
amd ASoC: amd: acp: Add kcontrols and widgets per-codec in common code 2023-08-18 13:55:06 +01:00
apple
atmel ASoC: atmel: merge DAI call back functions into ops 2023-08-14 13:10:19 +01:00
au1x ASoC: au1x: merge DAI call back functions into ops 2023-08-14 13:10:15 +01:00
bcm ASoC: bcm: merge DAI call back functions into ops 2023-08-14 13:10:06 +01:00
cirrus ASoC: cirrus: merge DAI call back functions into ops 2023-08-14 13:10:22 +01:00
codecs ASoC: cs42l43: Fix missing error code in cs42l43_codec_probe() 2023-08-29 11:21:05 +01:00
dwc ASoC: dwc: i2s: Add StarFive JH7110 SoC support 2023-08-23 13:56:40 +01:00
fsl ASoC: fsl: merge DAI call back functions into ops 2023-08-22 12:48:33 +01:00
generic ASoC: audio-graph-card.c: move audio_graph_parse_of() 2023-08-24 18:22:01 +01:00
google
hisilicon ASoC: hisilicon: merge DAI call back functions into ops 2023-08-14 13:10:30 +01:00
img ASoC: img: merge DAI call back functions into ops 2023-08-14 13:10:08 +01:00
intel ASoC: Intel: RPL/MTL machine updates for 6.6 2023-08-15 19:22:03 +01:00
jz4740 ASoC: jz4740: merge DAI call back functions into ops 2023-08-14 13:10:21 +01:00
kirkwood
loongson ASoC: loongson: merge DAI call back functions into ops 2023-08-14 13:10:28 +01:00
mediatek ASoC: mediatek: mt7986: add machine driver with wm8960 2023-08-17 13:09:18 +01:00
meson ASoC: Merge up fixes 2023-08-17 22:38:42 +01:00
mxs
pxa ASoC: pxa: merge DAI call back functions into ops 2023-08-22 12:48:31 +01:00
qcom ASoC: qcom: merge DAI call back functions into ops 2023-08-14 13:10:14 +01:00
rockchip ASoC: rockchip: Fix Wvoid-pointer-to-enum-cast warning 2023-08-15 19:23:00 +01:00
samsung ASoC: samsung: tm2_wm5110: parse audio-routing 2023-08-16 14:47:20 +01:00
sh ASoC: rsnd: setup BRGCKR/BRRA/BRRB on rsnd_adg_clk_control() 2023-08-23 13:53:29 +01:00
sof ASoC: SOF: amd: clear dsp to host interrupt status 2023-08-23 13:27:19 +01:00
spear
sprd
starfive ASoC: starfive: merge DAI call back functions into ops 2023-08-14 13:10:29 +01:00
sti ASoC: sti: merge DAI call back functions into ops 2023-08-14 13:10:10 +01:00
stm ASoC: stm: merge DAI call back functions into ops 2023-08-14 13:10:11 +01:00
sunxi ASoC: sunxi: merge DAI call back functions into ops 2023-08-14 13:10:17 +01:00
tegra ASoC: tegra: merge DAI call back functions into ops 2023-08-14 13:10:18 +01:00
ti ASoC: ti: merge DAI call back functions into ops 2023-08-14 13:10:01 +01:00
uniphier ASoC: uniphier: merge DAI call back functions into ops 2023-08-14 13:10:27 +01:00
ux500 ASoC: ux500: merge DAI call back functions into ops 2023-08-14 13:10:16 +01:00
xilinx
xtensa
Kconfig ASoC: topology: Add explicit build option 2023-07-18 15:19:03 +01:00
Makefile
soc-ac97.c
soc-acpi.c ASoC: soc-acpi: improve log messagesin link_slaves_found() 2023-07-31 23:24:01 +01:00
soc-card.c
soc-component.c
soc-compress.c
soc-core.c ASoC: soc-core.c: Do not error if a DAI link component is not found 2023-08-24 21:10:45 +01:00
soc-dai.c ASoC: soc-dai.h: merge DAI call back functions into ops 2023-08-14 13:10:00 +01:00
soc-dapm.c ASoC: dapm: Add a flag for not having widget name in kcontrol name 2023-08-15 13:25:55 +01:00
soc-devres.c
soc-generic-dmaengine-pcm.c
soc-jack.c ASoC: soc-jack: calling snd_soc_jack_report causes a null pointer access 2023-08-14 22:10:35 +01:00
soc-link.c
soc-ops.c
soc-pcm.c ASoC: lower "no backend DAIs enabled for ... Port" log severity 2023-08-07 19:56:06 +01:00
soc-topology-test.c
soc-topology.c ASoC: soc-topology: merge DAI call back functions into ops 2023-08-14 13:10:32 +01:00
soc-utils-test.c
soc-utils.c