Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1549828pxb; Tue, 8 Feb 2022 21:57:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJzZ08TASUEhIUw5XCMNyJ6Ge5SWAHUWdYzzhDCpgoJUfKcis2YPR1a3SIJFO0jeELX8Jv0C X-Received: by 2002:a05:6a00:1396:: with SMTP id t22mr695991pfg.26.1644386269670; Tue, 08 Feb 2022 21:57:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644386269; cv=none; d=google.com; s=arc-20160816; b=U2HXMhS5EGQwpOorlqhLdURCPe2bqRHDjQGUn1HP7Yf+e+wfRz3qQ0aFLfN3jq4dhY rM5j2e0gPZ7I++t7J1ErFSGwtrHM+CQmOyGsZdyMwOWhqr9oJWwEhhlJgCV8MlJLp+I4 13ggiSOf2WwdCffhfleQWdSbSRZPNvdaaMzTpoc9L8GR3bKsjr2vi3tFI3rEBM+QQ5Fb GKARvcvy9BK9L1d0mym7wVwooEqtUwMvYoyM3HD4SyH0bfE19tJ9GISSnBEazad6PVXE BStZ2UmUclQfBwN2jkzGd9cU2NzKFvp45AywK+p1Cwppv99Hh0ms0J3reXbuZTp6jEuR N9lA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=dhL+tzxFxXBxPphxoALoyaM7o1dbwa7U1TLfKjTWgv0=; b=ZQSo1W+kyzSuVBcz8vvLqFEeQ6LkLPCwOYSp/o6DcxU0JOVW9lRC85sHwVT04jMlTz IlxuXD5v8TJW5i3JPoMq0+g9GtAU5jKQsOPcNHUQcqH9OdXHkLRIyhExG+swZj2FHudG hBj7pRadqAWPYKoWd/kkCCWcHxA/aBx1pRn81L7TTHvsOF6s072lq4W4Bw4RNZQRpLGj EDC3a+KvD3UAen3kNvaZmn6IzxbTGKaG+el/FvYnpBlRsf3Ru1Osi9SH+rroMffXx7OU fImncpAplk+k60UPvWZXW4CQq/pMJBQ8K329n5BPdIZ9tjNEjFqbh8TTwHW73T2Y+tw3 z4WA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ZGoYXE4T; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id b16si229059pgs.772.2022.02.08.21.57.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Feb 2022 21:57:49 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ZGoYXE4T; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3573FE0172F5; Tue, 8 Feb 2022 21:49:54 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1385765AbiBGLca (ORCPT + 99 others); Mon, 7 Feb 2022 06:32:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1383088AbiBGLVe (ORCPT ); Mon, 7 Feb 2022 06:21:34 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C063C0401D6; Mon, 7 Feb 2022 03:21:17 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 870D5B811B2; Mon, 7 Feb 2022 11:21:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CC339C004E1; Mon, 7 Feb 2022 11:21:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1644232874; bh=xjkRWAuO6sjuAxBcS+6c7kSyPv7Q3Yfk0x1pK5sdx1M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZGoYXE4TdDwZq6xkP+HyZrRcVwxor1/AAJn99NCbAVGgrYT22AWTHX8UbNeREivGg H2CNcU+qCuF7O5P6pv2eIOsKjOaToiGlgG7LH6ITY+YpbYcrBRJEZRtdmrBZDwRRwK LegH4vHt263UPQGnf6vy0ox5e+rn67CukVqcRlRY= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Jukka Heikintalo , =?UTF-8?q?Pawe=C5=82=20Susicki?= , Jonas Hahnfeld , Takashi Iwai Subject: [PATCH 5.10 06/74] ALSA: usb-audio: Correct quirk for VF0770 Date: Mon, 7 Feb 2022 12:06:04 +0100 Message-Id: <20220207103757.449235329@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220207103757.232676988@linuxfoundation.org> References: <20220207103757.232676988@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jonas Hahnfeld commit 4ee02e20893d2f9e951c7888f2284fa608ddaa35 upstream. This device provides both audio and video. The original quirk added in commit 48827e1d6af5 ("ALSA: usb-audio: Add quirk for VF0770") used USB_DEVICE to match the vendor and product ID. Depending on module order, if snd-usb-audio was asked first, it would match the entire device and uvcvideo wouldn't get to see it. Change the matching to USB_AUDIO_DEVICE to restore uvcvideo matching in all cases. Fixes: 48827e1d6af5 ("ALSA: usb-audio: Add quirk for VF0770") Reported-by: Jukka Heikintalo Tested-by: Jukka Heikintalo Reported-by: Paweł Susicki Tested-by: Paweł Susicki Cc: # 5.4, 5.10, 5.14, 5.15 Signed-off-by: Jonas Hahnfeld Link: https://lore.kernel.org/r/20220131183516.61191-1-hahnjo@hahnjo.de Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- sound/usb/quirks-table.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/sound/usb/quirks-table.h +++ b/sound/usb/quirks-table.h @@ -84,7 +84,7 @@ * combination. */ { - USB_DEVICE(0x041e, 0x4095), + USB_AUDIO_DEVICE(0x041e, 0x4095), .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) { .ifnum = QUIRK_ANY_INTERFACE, .type = QUIRK_COMPOSITE,