Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1684101pxb; Wed, 9 Feb 2022 02:07:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJyHKWQbEC5z1EV1SHWclv4cmwJq/XtnVSPrSU7NV/JumglTKew6OUVwUj3TUQ+zgG6pYSVx X-Received: by 2002:a17:90b:4a4b:: with SMTP id lb11mr1690079pjb.144.1644401226205; Wed, 09 Feb 2022 02:07:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644401226; cv=none; d=google.com; s=arc-20160816; b=B0EWpX0q6rszC5ysj+P4UI6myBbuYehjiEcvbMEGD23L9Cqqtib04cbFs/TgY3Vbjs yNCnOK3ks4bbpUFmrXjnrOPNd13YXLdJ7/hZ75LRsJYMxqL79z3g0pz0Z/+epVBm8YIg zTXO03VqEmnh86CBST3qQLJaoaF6MT4WeIOSEmUsuKUCoq6cn5JTEgEF1Thuiw0psrcG EKF3BYI37ah/+vtgMsAdMfaT06A9EilFIforM0Zl2p9xbaMINuJbDyhooMQZWDcE8p2p UGLOQPoteZ3+FqrwOz0MaGvoK6cAhxX+6r/ZwZSWZvuQoEqTT2c5OoCLvXFwX3N+M1ee 0O5A== 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=KaXNRylSolF0+EUJmmZjdvmVpv1Afi5D5beGZ52QutxLcULZhBHC5VC/2HIfMaRkDM hTqNtzYVp1dKz4haliplCzmZTbc1+9tqi6C65rcaBzA5S19evNFhwEThjUyUQ+I0S17C +9l9iOFaQ6kJQ46uS8KauEV2KG9appMqWdHYRLFxQ8gOTEh94eIXgpaFkBR2zSpsYVkm Cee9U9XwC8Rug089XgDolJPGj/4vPG63E9BFipGWO+S2UA/6kQ1fRHIrt2xAK9jU/Hs7 LEaIuYuAIGCqExFoDL/ykXJAAXbceucEgIq714AKqFqk6dzbxmIrI8TYccz8vrdSaxXX 96Rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=UseLBa1x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id l68si13991762pfl.186.2022.02.09.02.07.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Feb 2022 02:07:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=UseLBa1x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 DB225E047DE1; Wed, 9 Feb 2022 01:14:10 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1386706AbiBGLf0 (ORCPT + 99 others); Mon, 7 Feb 2022 06:35:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1384097AbiBGLYn (ORCPT ); Mon, 7 Feb 2022 06:24:43 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16E02C043181; Mon, 7 Feb 2022 03:24:43 -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 dfw.source.kernel.org (Postfix) with ESMTPS id A003C6077B; Mon, 7 Feb 2022 11:24:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7AD9FC004E1; Mon, 7 Feb 2022 11:24:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1644233082; bh=xjkRWAuO6sjuAxBcS+6c7kSyPv7Q3Yfk0x1pK5sdx1M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UseLBa1xJglCDP95TlKt0l6aTQak+nZCOBXHcL3HIQIHZdRp991I6rYDtP4FnIRx9 n033RVIZPbBuc6wXSTfUG4zl2PN5sXkRGUzv9Eyylhk4Hu5igiEMrVjwOiJInKvcmI NDLEVpCMFB5sxBW7I5QGDYLXxGBj7cXmn4wLRnJU= 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.15 010/110] ALSA: usb-audio: Correct quirk for VF0770 Date: Mon, 7 Feb 2022 12:05:43 +0100 Message-Id: <20220207103802.624680247@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220207103802.280120990@linuxfoundation.org> References: <20220207103802.280120990@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=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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,