]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ALSA: usb-audio: Use correct sub-type for UAC3 feature unit validation
authorTakashi Iwai <tiwai@suse.de>
Thu, 21 Aug 2025 15:08:34 +0000 (17:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Aug 2025 14:26:18 +0000 (16:26 +0200)
commit030c670a53d8a95e3724065b916e4f5b78c89842
treed1c7f35181fb85b71e1580b729b4de6a4e1e5af2
parentac511b5dd85a422df50f3e6712c1839cf8b086e1
ALSA: usb-audio: Use correct sub-type for UAC3 feature unit validation

[ Upstream commit 8410fe81093ff231e964891e215b624dabb734b0 ]

The entry of the validators table for UAC3 feature unit is defined
with a wrong sub-type UAC_FEATURE (= 0x06) while it should have been
UAC3_FEATURE (= 0x07).  This patch corrects the entry value.

Fixes: 57f8770620e9 ("ALSA: usb-audio: More validations of descriptor units")
Link: https://patch.msgid.link/20250821150835.8894-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/usb/validate.c