Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp2400488ioo; Sat, 28 May 2022 12:26:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxqqyZebrPRe2Qx1i5nt0jlvXi1XDHFGm5+gaFtYPafi8pjO58tCVdc4Wm9cDMeN5KO3wLp X-Received: by 2002:a17:902:da8b:b0:162:6c7:7254 with SMTP id j11-20020a170902da8b00b0016206c77254mr37321074plx.150.1653765970152; Sat, 28 May 2022 12:26:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653765970; cv=none; d=google.com; s=arc-20160816; b=NJTADLjDwLnhMjf+vvQA6QVUko1JgbHJfpZ6bJa07NvvPRFWAHUldaR2sPyCL9FDDF jnH3asX6PZhCu8E/pmTF5NbFJPgPzFLlBAV8J4MLB+Wj6Ou4K5Bwpjzhv1F4X3Dg35MW SvWJw4+04MR1Cqj8thM6H8zTtzaf6QB56j2lU4wSRZ9wCDXpvNdwVE2WvFowkXCsELj9 qwKKeME5M6SjcObHsodbCZh0jZxizBLrND5TevqhY/mBHilsg1Z8qSfwtMBdZDf+hbRO +xmtU9bzX/eAyJPqMh1Qke2GoaY4wjhx0Dl0pojQrD40FSC37VgIuxMv1val20sPHpKx ckGQ== 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=d+nHGTXMhGGfutQX5G5yCz825yCUg7cRt9Gc1Nr6DZA=; b=jk3ZpMErsblW/gf0MZY/+yQgZuin5nSe8HR7L1azNsjUNhBF0D5RpAkl/SsDL+v44o 82kWTjxdsA0zg4p1nH0zkawdkjCpSwirlB0jE8VI/BEpC5IC0kpvIToiDU54CUxNX5xR XllBv2p2TDkznv8LEZ0+xmXcuxbuFMpw2gjpPal2VOOHvM/8l80lRFQqIXLc589ecxFg QblKXz4eGLj185VG26Xobkk3ZXaPeqSwYwygAmwAdDvO7WPvexKOj9dmUJeqESKAXh92 lX1HV2Pql3v9Zfyv3+Dco9H8AIa3jjZzq5sEUqvGUxXG7EVWbC0GMegbBRWEZukznHRO DAAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=rqygeeey; 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 v13-20020a056a00148d00b0050d51c28264si10630791pfu.68.2022.05.28.12.26.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 May 2022 12:26:10 -0700 (PDT) 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=rqygeeey; 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 498085044A; Sat, 28 May 2022 11:55:48 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236235AbiE0JBx (ORCPT + 99 others); Fri, 27 May 2022 05:01:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350480AbiE0JAA (ORCPT ); Fri, 27 May 2022 05:00:00 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A6EA46667; Fri, 27 May 2022 01:56:03 -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 sin.source.kernel.org (Postfix) with ESMTPS id 5C22FCE238F; Fri, 27 May 2022 08:56:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 353CAC385A9; Fri, 27 May 2022 08:55:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1653641759; bh=RUEsyhJFnaOVYv98/ybfm3mKHtkusHDBD7ScaWxPpOI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rqygeeeycRlaqkSXXnvPao9H8kgXd9ePWZwwtyEyorN3WKTgoPkPNHJyMPDoE5caQ NcsYuLT8T3UAwcHeQhqUw5pz9Trqt7VDIfkILZNG6AISTSxHC2q/TyiDMwDL0qb1Wj 2436yYkU+M4iELFAoBeLYODdagBKpl3NBO2SS6Rc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Edward Matijevic , Takashi Iwai Subject: [PATCH 5.18 47/47] ALSA: ctxfi: Add SB046x PCI ID Date: Fri, 27 May 2022 10:50:27 +0200 Message-Id: <20220527084808.977367716@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220527084801.223648383@linuxfoundation.org> References: <20220527084801.223648383@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.8 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: Edward Matijevic commit 1b073ebb174d0c7109b438e0a5eb4495137803ec upstream. Adds the PCI ID for X-Fi cards sold under the Platnum and XtremeMusic names Before: snd_ctxfi 0000:05:05.0: chip 20K1 model Unknown (1102:0021) is found After: snd_ctxfi 0000:05:05.0: chip 20K1 model SB046x (1102:0021) is found [ This is only about defining the model name string, and the rest is handled just like before, as a default unknown device. Edward confirmed that the stuff has been working fine -- tiwai ] Signed-off-by: Edward Matijevic Cc: Link: https://lore.kernel.org/r/cae7d1a4-8bd9-7dfe-7427-db7e766f7272@gmail.com Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- sound/pci/ctxfi/ctatc.c | 2 ++ sound/pci/ctxfi/cthardware.h | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) --- a/sound/pci/ctxfi/ctatc.c +++ b/sound/pci/ctxfi/ctatc.c @@ -36,6 +36,7 @@ | ((IEC958_AES3_CON_FS_48000) << 24)) static const struct snd_pci_quirk subsys_20k1_list[] = { + SND_PCI_QUIRK(PCI_VENDOR_ID_CREATIVE, 0x0021, "SB046x", CTSB046X), SND_PCI_QUIRK(PCI_VENDOR_ID_CREATIVE, 0x0022, "SB055x", CTSB055X), SND_PCI_QUIRK(PCI_VENDOR_ID_CREATIVE, 0x002f, "SB055x", CTSB055X), SND_PCI_QUIRK(PCI_VENDOR_ID_CREATIVE, 0x0029, "SB073x", CTSB073X), @@ -64,6 +65,7 @@ static const struct snd_pci_quirk subsys static const char *ct_subsys_name[NUM_CTCARDS] = { /* 20k1 models */ + [CTSB046X] = "SB046x", [CTSB055X] = "SB055x", [CTSB073X] = "SB073x", [CTUAA] = "UAA", --- a/sound/pci/ctxfi/cthardware.h +++ b/sound/pci/ctxfi/cthardware.h @@ -26,8 +26,9 @@ enum CHIPTYP { enum CTCARDS { /* 20k1 models */ + CTSB046X, + CT20K1_MODEL_FIRST = CTSB046X, CTSB055X, - CT20K1_MODEL_FIRST = CTSB055X, CTSB073X, CTUAA, CT20K1_UNKNOWN,