linux-yocto/sound
Takashi Iwai 2204e582b4 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-15 11:56:33 +02:00
..
ac97
aoa
arm
atmel
core ALSA: pcm: Rewrite recalculate_boundary() to avoid costly loop 2025-08-28 16:25:54 +02:00
drivers
firewire ALSA: firewire-motu: drop EPOLLOUT from poll return values as write is not supported 2025-09-25 10:58:50 +02:00
hda ASoC: Intel: sst: Support LPE0F28 ACPI HID 2024-12-14 19:53:08 +01:00
i2c
isa ALSA: sb: Force to disable DMAs once when DMA mode is changed 2025-07-10 15:59:49 +02:00
mips
oss
parisc
pci ALSA: lx_core: use int type to store negative error codes 2025-10-15 11:56:31 +02:00
pcmcia
ppc
sh ALSA: sh: SND_AICA should depend on SH_DMA_API 2025-05-22 14:10:02 +02:00
soc ASoC: Intel: bytcr_rt5651: Fix invalid quirk input mapping 2025-10-15 11:56:33 +02:00
sparc
spi
synth ALSA: emux: improve patch ioctl data validation 2024-07-05 09:31:49 +02:00
usb ALSA: usb-audio: Add mute TLV for playback volumes on more devices 2025-10-02 13:40:36 +02:00
virtio sound/virtio: Fix cancel_sync warnings on uninitialized work_structs 2025-05-02 07:47:02 +02:00
x86 ALSA: intel_hdmi: Fix off-by-one error in __hdmi_lpe_audio_probe() 2025-08-15 12:05:13 +02:00
xen
ac97_bus.c
Kconfig sound: Make CONFIG_SND depend on INDIRECT_IOMEM instead of UML 2024-11-17 15:07:20 +01:00
last.c
Makefile
sound_core.c