From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 80193356908; Tue, 26 Aug 2025 14:27:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756218426; cv=none; b=n2pW8mcoU8LdeeMxOvyNBNrq1wpCmn5A399m9M/bhYipGx4BggwL+u6diNijA3XRdLpv2O8BRx+MfpvdA4I1BBcmTbJ3O6NdxS1MfPVcNz9fppUbqeFxyfGnoeFtUuOffSkzGfZJ1tCxqshAhJgxwpAIhi1yERBPosEWwCQbRYY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756218426; c=relaxed/simple; bh=D9bUUR8j/mKByc0bbHIjh8c+2lx9mlcgZ4dUZvwtGeI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=cI3fvfm6MkUB3lVKODOYB20yADah4XACL5wrB0I27MMhnszUIwhPW0HA2y7qIAe1Nlf4WbIOOgQuWX0FA8abinhXVXoLMAVdOBqWSg0I1hRKTiT2IrrZVg4N0xWVAOXteWq7ZsO2XzocOAMhYYf5X/F54IlPjEWU8qYVNDAqd6Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=sHd9L41D; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="sHd9L41D" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 10E6EC4CEF1; Tue, 26 Aug 2025 14:27:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1756218426; bh=D9bUUR8j/mKByc0bbHIjh8c+2lx9mlcgZ4dUZvwtGeI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sHd9L41DmElYLdGZ+UqVENkNLE53VduszjzpcizdOdpIm+q/m1IAvwSNxwMk3EDCY 4SxIfj5XypA8dveSxGnLjh+E8IYctpNxKzcV94+Guh0RSLbOruThrDaHgtvVSITf3q oKtqbOx7kvOdrXBmu5X/hW7zLt5VZvvHyphUpUuc= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Takashi Iwai , Sasha Levin Subject: [PATCH 5.10 518/523] ALSA: usb-audio: Use correct sub-type for UAC3 feature unit validation Date: Tue, 26 Aug 2025 13:12:08 +0200 Message-ID: <20250826110937.214970856@linuxfoundation.org> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20250826110924.562212281@linuxfoundation.org> References: <20250826110924.562212281@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 5.10-stable review patch. If anyone has any objections, please let me know. ------------------ From: Takashi Iwai [ 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 Signed-off-by: Sasha Levin --- sound/usb/validate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/usb/validate.c b/sound/usb/validate.c index 4f4e8e87a14c..a0d55b77c994 100644 --- a/sound/usb/validate.c +++ b/sound/usb/validate.c @@ -285,7 +285,7 @@ static const struct usb_desc_validator audio_validators[] = { /* UAC_VERSION_3, UAC3_EXTENDED_TERMINAL: not implemented yet */ FUNC(UAC_VERSION_3, UAC3_MIXER_UNIT, validate_mixer_unit), FUNC(UAC_VERSION_3, UAC3_SELECTOR_UNIT, validate_selector_unit), - FUNC(UAC_VERSION_3, UAC_FEATURE_UNIT, validate_uac3_feature_unit), + FUNC(UAC_VERSION_3, UAC3_FEATURE_UNIT, validate_uac3_feature_unit), /* UAC_VERSION_3, UAC3_EFFECT_UNIT: not implemented yet */ FUNC(UAC_VERSION_3, UAC3_PROCESSING_UNIT, validate_processing_unit), FUNC(UAC_VERSION_3, UAC3_EXTENSION_UNIT, validate_processing_unit), -- 2.50.1