]> 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:31:16 +0000 (16:31 +0200)
commitba1e8eab16d269ae4245b8eb7af2a90d83d6a0f3
tree81ce6779d6dea7aa76ceccd98ea5e2111f025524
parent66d25bb8ab0e4a5d62636a0772d9996426baa8f8
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