linux-imx/sound/soc
Herve Codina b4205dfcfe ASoC: fsl: fsl_qmc_audio: Check devm_kasprintf() returned value
commit e625999023 upstream.

devm_kasprintf() can return a NULL pointer on failure but this returned
value is not checked.

Fix this lack and check the returned value.

Fixes: 075c7125b1 ("ASoC: fsl: Add support for QMC audio")
Cc: stable@vger.kernel.org
Signed-off-by: Herve Codina <herve.codina@bootlin.com>
Link: https://patch.msgid.link/20240701113038.55144-2-herve.codina@bootlin.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-08-03 08:54:22 +02:00
..
adi
amd ASoC: amd: Adjust error handling in case of absent codec device 2024-08-03 08:54:00 +02:00
apple
atmel ASoC: atmel: atmel-classd: Re-add dai_link->platform to fix card init 2024-07-05 09:33:45 +02:00
au1x
bcm
cirrus
codecs ASoC: max98088: Check for clk_prepare_enable() error 2024-08-03 08:54:00 +02:00
dwc ASoC: dwc: Fix non-DT instantiation 2023-10-13 18:40:27 +01:00
fsl ASoC: fsl: fsl_qmc_audio: Check devm_kasprintf() returned value 2024-08-03 08:54:22 +02:00
generic ASoC: simple-card: fixup asoc_simple_probe() error handling 2023-09-19 13:48:38 +01:00
google
hisilicon
img
intel bytcr_rt5640 : inverse jack detect for Archos 101 cesium 2024-07-25 09:50:49 +02:00
jz4740
kirkwood ASoC: kirkwood: Fix potential NULL dereference 2024-06-12 11:11:58 +02:00
loongson
mediatek ASoC: mediatek: mt8183-da7219-max98357: Fix kcontrol name collision 2024-07-05 09:33:44 +02:00
meson ASoC: meson: cards: select SND_DYNAMIC_MINORS 2024-05-17 12:02:05 +02:00
mxs
pxa ASoC: pxa: fix a memory leak in probe() 2023-10-09 13:13:50 +01:00
qcom ASoC: qcom: Adjust issues in case of DT error in asoc_qcom_lpass_cpu_platform_probe() 2024-08-03 08:53:59 +02:00
rockchip ASoC: rockchip: i2s-tdm: Fix trcm mode by setting clock on right mclk 2024-07-05 09:33:44 +02:00
samsung
sh ASoC: sh: rz-ssi: Fix error message print 2024-03-26 18:19:44 -04:00
sof ASoC: SOF: Intel: hda-pcm: Limit the maximum number of periods by MAX_BDL_ENTRIES 2024-07-25 09:50:55 +02:00
spear
sprd
starfive
sti
stm
sunxi ASoC: sunxi: sun4i-spdif: Add support for Allwinner H616 2024-03-01 13:34:51 +01:00
tegra ASoC: tegra: Fix DSPK 16-bit playback 2024-05-17 12:02:32 +02:00
ti ASoC: ti: omap-hdmi: Fix too long driver name 2024-07-25 09:50:49 +02:00
uniphier
ux500
xilinx
xtensa
Kconfig
Makefile
soc-ac97.c
soc-acpi.c
soc-card.c ASoC: soc-card: Fix missing locking in snd_soc_card_get_kcontrol() 2024-03-06 14:48:38 +00:00
soc-component.c ASoC: soc-dapm: Add helper for comparing widget name 2023-10-09 13:03:28 +01:00
soc-compress.c
soc-core.c ASoC: soc-core.c: Skip dummy codec when adding platforms 2024-04-13 13:07:39 +02:00
soc-dai.c ASoC: soc-dai: add flag to mute and unmute stream during trigger 2023-11-28 17:20:04 +00:00
soc-dapm.c ASoC: dapm: fix clock get name 2023-11-20 11:59:37 +01:00
soc-devres.c
soc-generic-dmaengine-pcm.c ALSA: dmaengine: Synchronize dma channel after drop() 2024-07-25 09:50:49 +02:00
soc-jack.c
soc-link.c
soc-ops.c ASoC: ops: Fix wraparound for mask in snd_soc_get_volsw 2024-04-10 16:35:59 +02:00
soc-pcm.c ASoC: soc-dai: add flag to mute and unmute stream during trigger 2023-11-28 17:20:04 +00:00
soc-topology-test.c
soc-topology.c ASoC: topology: Do not assign fields that are already set 2024-07-25 09:50:49 +02:00
soc-utils-test.c
soc-utils.c ASoC: soc.h: convert asoc_xxx() to snd_soc_xxx() 2024-03-06 14:48:37 +00:00