Takashi Iwai
bff827b0d5
ASoC: Intel: bytcr_rt5651: Fix invalid quirk input mapping
...
[ Upstream commit 4336efb59ef364e691ef829a73d9dbd4d5ed7c7b ]
When an invalid value is passed via quirk option, currently
bytcr_rt5640 driver just ignores and leaves as is, which may lead to
unepxected results like OOB access.
This patch adds the sanity check and corrects the input mapping to the
certain default value if an invalid value is passed.
Fixes: 64484ccee7 ("ASoC: Intel: bytcr_rt5651: Set card long_name based on quirks")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Message-ID: <20250902171826.27329-4-tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-10-29 13:59:48 +01: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
Revert "ASoC: atmel: Remove system clock tree configuration for at91sam9g20ek"
2024-01-25 14:34:29 -08:00
au1x
ASoC: allow module autoloading for table db1200_pids
2024-11-08 16:20:25 +01:00
bcm
cirrus
codecs
ASoC: wm8974: Correct PLL rate rounding
2025-10-02 13:34:31 +02:00
dwc
ASoC: dwc: limit the number of overrun messages
2023-06-09 10:28:56 +02:00
fsl
ASoC: fsl_sai: Force a software reset when starting in consumer mode
2025-08-28 16:21:16 +02:00
generic
ASoC: audio-graph-card: fix refcount leak of cpu_ep in __graph_for_each_link()
2023-01-18 11:41:40 +01:00
hisilicon
ASoC: hisilicon: fix missing clk_disable_unprepare() on error in hi6210_i2s_startup()
2021-07-14 16:53:40 +02:00
img
ASoC: img: Fix PM reference leak in img_i2s_in_probe()
2021-07-20 16:10:43 +02:00
intel
ASoC: Intel: bytcr_rt5651: Fix invalid quirk input mapping
2025-10-29 13:59:48 +01:00
jz4740
ASoC: jz4740-i2s: add missed checks for clk_get()
2020-12-30 11:51:18 +01:00
kirkwood
ASoC: kirkwood: Iterate over array indexes instead of using pointer math
2023-03-11 16:43:57 +01:00
mediatek
ASoC: mediatek: mt8173-rt5650-rt5514: fix refcount leak in mt8173_rt5650_rt5514_dev_probe()
2023-01-18 11:41:39 +01:00
meson
ASoC: meson: meson-card-utils: use of_property_present() for DT parsing
2025-07-17 18:24:52 +02:00
mxs
ASoC: mxs-saif: Fix refcount leak in mxs_saif_probe
2022-06-14 18:11:36 +02:00
pxa
ASoC: pxa: fix a memory leak in probe()
2023-10-25 11:53:24 +02:00
qcom
ASoC: qcom: q6dsp: Fix an off-by-one in q6adm_alloc_copp()
2022-08-25 11:18:05 +02:00
rockchip
ASoC: rockchip: spdif: Add missing clk_disable_unprepare() in rk_spdif_runtime_resume()
2023-01-18 11:41:40 +01:00
samsung
ASoC: samsung: idma: Check of ioremap return value
2022-01-27 09:19:39 +01:00
sh
ASoC: rsnd: don't indicate warning on rsnd_kctrl_accept_runtime()
2025-04-10 14:29:36 +02:00
sirf
sof
ASoC: SOF: Intel: hda-stream: Fix incorrect variable used in error message
2025-10-02 13:34:31 +02:00
spear
sprd
sti
ASoC: sti: Fix deadlock via snd_pcm_stop_xrun() call
2022-03-28 08:46:46 +02:00
stm
ASoC: stm: Prevent potential division by zero in stm32_sai_get_clk_div()
2024-12-14 19:44:21 +01:00
sunxi
ASoC: sun4i-spdif: Add clock multiplier settings
2025-03-13 12:42:55 +01:00
tegra
ASoC: tegra: Set driver_name=tegra for all machine drivers
2021-07-19 08:53:16 +02:00
ti
ASoC: ti: omap-hdmi: Fix too long driver name
2024-07-27 10:38:30 +02:00
txx9
uniphier
ASoC: uniphier: drop selecting non-existing SND_SOC_UNIPHIER_AIO_DMA
2022-01-27 09:19:38 +01:00
ux500
xilinx
ASoC: xilinx: xlnx_formatter_pcm: Make buffer bytes multiple of period bytes
2022-02-08 18:24:32 +01:00
xtensa
zte
Kconfig
Makefile
soc-ac97.c
soc-acpi.c
soc-component.c
soc-compress.c
ASoC: soc-compress.c: fixup private_data on snd_soc_new_compress()
2023-03-11 16:43:46 +01:00
soc-core.c
ASoC: core: Fix use-after-free in snd_soc_exit()
2022-11-25 17:42:13 +01:00
soc-dai.c
soc-dapm.c
ASoC: soc-dapm: set bias_level if snd_soc_dapm_set_bias_level() was successed
2025-08-28 16:21:25 +02:00
soc-devres.c
soc-generic-dmaengine-pcm.c
ASoC: dmaengine: Restore NULL prepare_slave_config() callback
2022-05-12 12:23:44 +02:00
soc-io.c
soc-jack.c
soc-ops.c
ASoC: ops: dynamically allocate struct snd_ctl_elem_value
2025-08-28 16:21:18 +02:00
soc-pcm.c
ASoC: soc-pcm: Add NULL check in BE reparenting
2022-12-14 11:30:41 +01:00
soc-topology.c
ASoC: topology: Properly initialize soc_enum values
2024-09-12 11:03:53 +02:00
soc-utils.c
ASoC: soc-utils: Remove __exit for snd_soc_util_exit()
2022-11-25 17:42:14 +01:00