Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2128343iof; Tue, 7 Jun 2022 20:41:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy1pEUoKXgaLkUgwFHDwez8uX7N1KviAwMab40RdZQ1hsIfG72oejhlS0vjJFcxa7TEoSsa X-Received: by 2002:a17:902:7794:b0:167:82d5:4753 with SMTP id o20-20020a170902779400b0016782d54753mr12038789pll.138.1654659678965; Tue, 07 Jun 2022 20:41:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654659678; cv=none; d=google.com; s=arc-20160816; b=U16nr80rvS2kOvuuxBjx24kJo28sQTgE2/Zx3Nanfp94syyP+lzRVkmtzMl0Hs/GMO +rzyq65URmEbe3tlrEDPljemTDLOWLEaJiQQY9UWESCFS7oiBiTCn4E3u0OyPM/YepC1 GxQcivKNrx9MgKM5cokrSXSXUrRsD8XvsG/EdbdlV/OS44VJ+mXz9jTxHBd2Sazkfz8D fEgBuirFkSvwpdfnYJCnG4ec4wXNjx0+cuAzfZ7bW3j90rj8gkYr6YidA1lTfbb1ExrJ f62bOgmy3oDeHXafo/nbiyVr49GNph5wvFNLdb2Qow5FImLKZwlV+jpTy2cO74eABdTQ srCQ== 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=Kz7JGMurf9NB7AM+WKkwhgWKprF7xpswzDO8+Um8kKI=; b=bs46QI/bhiIoWXCDNni4l2p1J9+5VId7qMMBhKKy6m9iCteMGJZX8DfSm+RYSAWc0l lLGF+Nc3otn2PTdkhyf94BJIvCjNZSYWZa9WWgXB5DJSq+xwC4MyA86q/Cx/LTJRoq1m uC/289i7XjKCTl67q7vSzh2mTgEFq+/oi60TW+zVySBrCFtan8WdCqDp4Fq/CdiNNvK3 WhNvpFqIPzy2itwL+Zwi+UKs+pwT5ALO8Mg5aVErAUV2PhWuyEUaC0vEhLLKZr9wOoMm zGMW61ZxLJT1w8Ym/KZ7AYXuEItfi5+BRkE/fiNNNtr0i7ntwA7TWZP2EJUiEaSO9Uw6 dmbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=fIdpKwlc; 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 m194-20020a633fcb000000b003ab7a1a2193si25564656pga.151.2022.06.07.20.41.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 20:41:18 -0700 (PDT) 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=fIdpKwlc; 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 E717A1796EC; Tue, 7 Jun 2022 19:59:58 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1356023AbiFGWbv (ORCPT + 99 others); Tue, 7 Jun 2022 18:31:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1380665AbiFGVQk (ORCPT ); Tue, 7 Jun 2022 17:16:40 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 457A721F992; Tue, 7 Jun 2022 11:55:55 -0700 (PDT) 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 D158DB81FE1; Tue, 7 Jun 2022 18:55:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4B612C385A2; Tue, 7 Jun 2022 18:55:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1654628152; bh=2JYU5DuEm+BMLnrJLtWoA5OKIcB5KezmZmgoLCAFNSc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fIdpKwlcGaP4GgDQQdbll3YZ+uPVBjxXkKyyYzM8Xr/+IWl4VorMLlrIlT4J6jUrv YOR8vqPpEAZk6J5OHbdfu/dCQUp4h7xnqkvnFMu0s60bUuNsL/ptXs+HxVJ2IYfp2z ahT/FH/p0arQVMzzA1jhUX4c/E4Nj3OwX319GPWo= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Takashi Iwai , Sasha Levin Subject: [PATCH 5.18 224/879] ALSA: usb-audio: Move generic implicit fb quirk entries into quirks.c Date: Tue, 7 Jun 2022 18:55:42 +0200 Message-Id: <20220607165009.355896372@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220607165002.659942637@linuxfoundation.org> References: <20220607165002.659942637@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=-3.1 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=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: Takashi Iwai [ Upstream commit 67d64069bc0867e52e73a1e255b17462005ca9b4 ] Use the new quirk bits to manage the generic implicit fb quirk entries. This makes easier to compare with other devices. Link: https://lore.kernel.org/r/20220421064101.12456-2-tiwai@suse.de Signed-off-by: Takashi Iwai Signed-off-by: Sasha Levin --- sound/usb/implicit.c | 5 ----- sound/usb/quirks.c | 6 ++++++ 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/sound/usb/implicit.c b/sound/usb/implicit.c index 1fd087128538..e1bf1b5da423 100644 --- a/sound/usb/implicit.c +++ b/sound/usb/implicit.c @@ -45,11 +45,6 @@ struct snd_usb_implicit_fb_match { /* Implicit feedback quirk table for playback */ static const struct snd_usb_implicit_fb_match playback_implicit_fb_quirks[] = { - /* Generic matching */ - IMPLICIT_FB_GENERIC_DEV(0x0499, 0x1509), /* Steinberg UR22 */ - IMPLICIT_FB_GENERIC_DEV(0x0763, 0x2030), /* M-Audio Fast Track C400 */ - IMPLICIT_FB_GENERIC_DEV(0x0763, 0x2031), /* M-Audio Fast Track C600 */ - /* Fixed EP */ /* FIXME: check the availability of generic matching */ IMPLICIT_FB_FIXED_DEV(0x0763, 0x2080, 0x81, 2), /* M-Audio FastTrack Ultra */ diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c index fbbe59054c3f..e8468f9b007d 100644 --- a/sound/usb/quirks.c +++ b/sound/usb/quirks.c @@ -1793,6 +1793,8 @@ static const struct usb_audio_quirk_flags_table quirk_flags_table[] = { QUIRK_FLAG_CTL_MSG_DELAY_1M | QUIRK_FLAG_IGNORE_CTL_ERROR), DEVICE_FLG(0x046d, 0x09a4, /* Logitech QuickCam E 3500 */ QUIRK_FLAG_CTL_MSG_DELAY_1M | QUIRK_FLAG_IGNORE_CTL_ERROR), + DEVICE_FLG(0x0499, 0x1509, /* Steinberg UR22 */ + QUIRK_FLAG_GENERIC_IMPLICIT_FB), DEVICE_FLG(0x04d8, 0xfeea, /* Benchmark DAC1 Pre */ QUIRK_FLAG_GET_SAMPLE_RATE), DEVICE_FLG(0x04e8, 0xa051, /* Samsung USBC Headset (AKG) */ @@ -1826,6 +1828,10 @@ static const struct usb_audio_quirk_flags_table quirk_flags_table[] = { QUIRK_FLAG_GET_SAMPLE_RATE), DEVICE_FLG(0x074d, 0x3553, /* Outlaw RR2150 (Micronas UAC3553B) */ QUIRK_FLAG_GET_SAMPLE_RATE), + DEVICE_FLG(0x0763, 0x2030, /* M-Audio Fast Track C400 */ + QUIRK_FLAG_GENERIC_IMPLICIT_FB), + DEVICE_FLG(0x0763, 0x2031, /* M-Audio Fast Track C600 */ + QUIRK_FLAG_GENERIC_IMPLICIT_FB), DEVICE_FLG(0x08bb, 0x2702, /* LineX FM Transmitter */ QUIRK_FLAG_IGNORE_CTL_ERROR), DEVICE_FLG(0x0951, 0x16ad, /* Kingston HyperX */ -- 2.35.1