]> 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:28:50 +0000 (16:28 +0200)
commit81a0f002e4fd3f8fb8bb9beaa3ccd6e639f19cca
treee187b9d6eae6c8e74cdde2d2e2551030878f9ae1
parent7d67d591ecb0dcf112d10de0f7e6de3dd62e6e9f
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