Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1617861pxb; Wed, 9 Feb 2022 00:13:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJzRlF/j64fQdb0Tot4Mkkxi9IbiYFhNjDo2zyckOVBL34/NBojuyyp/MI3WSKaC7wRiwVX0 X-Received: by 2002:a17:90a:5a01:: with SMTP id b1mr2133819pjd.134.1644394393021; Wed, 09 Feb 2022 00:13:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644394393; cv=none; d=google.com; s=arc-20160816; b=Cq+5M4HIgChpy7p6C19CUvepjBkjBhMfcIXhh3JDkpaetCD7BxEg989vwjvdp9n6iC TBvHjZ77EzXRHyIozQ7DViLNb26dlNXYh8atXtoU6+eDO5aKxLhcMe9ChQGDADp7SfSq 7qt99o5PvDz3NzObQs1rn7z4odpLQjp+XYY0OSnF+JpuRFuaAtF5s34bVugoYlT/XoJU m29V49OKmQGxciusbbFc+neXk5IRml9OofpGgYYLa7FJBk8H8kI1dB066DmkvzYh77gv eyF3QpllQEisN//xZ8rMVWhJqHxlnABSmApRmhrsnyk89cdxbCp9y7pfjrVAWYHrqbiQ oLQA== 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=PNXr+f21TqVThPZVx08bY4NMlwo0FcLqd7+j0i+ZUXWL0fkyasbz9+GF8OXmZpWecy qIsyGxgDtAV8qkNdt7I9avj9POAxpgH8b3SKgBubJH69VnbwGCu792/gGOIIKFFi8lBz f4efGi2hPZqUoGWq7fdmTj0xQjBC8vUN9zSaGOM8VbdnJOU+RTSMJbmxHgMv+2ByQSiJ +NIvCFqhN8ZoV4oZX+BSMuKmqsc6Vxi5m65XcQ/wzhdMzoirvDsD4e61YNrNDTYjOmxm RpsNGcRtYPi3GaDmNykEoWp4tpWxI9bSUA+nFzDyaFi+k32wc3b5Ad3Jc7YLEcehqlAB VSTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=mlWz7zmJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u31si16742876pgk.546.2022.02.09.00.12.59; Wed, 09 Feb 2022 00:13:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=mlWz7zmJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.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: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1391174AbiBGL6k (ORCPT + 99 others); Mon, 7 Feb 2022 06:58:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45032 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1385484AbiBGLby (ORCPT ); Mon, 7 Feb 2022 06:31:54 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A17DC03F93F; Mon, 7 Feb 2022 03:30:31 -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 ABA3B60AB0; Mon, 7 Feb 2022 11:30:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 84ACBC004E1; Mon, 7 Feb 2022 11:30:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1644233430; bh=xjkRWAuO6sjuAxBcS+6c7kSyPv7Q3Yfk0x1pK5sdx1M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mlWz7zmJ7oA1Xkk9qcUJGklv6hw8BLVngWURiJmsOYG2R9k3LRsErNjJR/v6XAdrp R06GCmQRsdrr4y6zUxA4aLH3rT4bUgY2BgDb1yxsPAf2qKscYqLkoXhtFdk26lPhFx eneCnyqo+BQjiBgEHYmyAQEZZ3wJdRpClOPB3zO4= 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.16 010/126] ALSA: usb-audio: Correct quirk for VF0770 Date: Mon, 7 Feb 2022 12:05:41 +0100 Message-Id: <20220207103804.413334168@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220207103804.053675072@linuxfoundation.org> References: <20220207103804.053675072@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.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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,