Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp5516874rwe; Tue, 18 Apr 2023 07:54:50 -0700 (PDT) X-Google-Smtp-Source: AKy350Ye9DNhPdx6nrfi0UUjIcp8dfE/LYDwLCnrXp9rXtgqloITLHB4S1FTyy5uIGQKV2FyJgER X-Received: by 2002:a17:90a:5a82:b0:23f:83de:7e4a with SMTP id n2-20020a17090a5a8200b0023f83de7e4amr101588pji.7.1681829689776; Tue, 18 Apr 2023 07:54:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681829689; cv=none; d=google.com; s=arc-20160816; b=Xrtr3Xdr57fkOrx7cRJKRtOjpAS86BBPFzLPXtCv7/xcgi/H9AHmT74o9TRUSAdPZM iKTzHj96igGcYra4obYTIaEbgiUXWoZA6FfJJMTVcqUVVJkBAmZ2qwfQUJhIcL5zctDN UC/2pn5mY0RU6WnfnkoHqpSTlOQ2v6y0MeXhG+4WQ1bidAXIUFbM/AuMbxm/wQltGJAU tBtbTk/mjcchYKufnFJnu3398mUWuZ5RQD9KYqSP1W3xxGV94nps+hthgsjwlgb5QgI4 U+QIJsyZAFe2pGG56FF8pzSL0yL0zArRWOk1q6vIhs7fia2nXGHyul1gtbWTrHqU2Zp/ u5dA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=FhxnCwEMIKRj+m8KW5BRkRVM+8FCcfQ+ParKlZcL1zY=; b=BMTnvnlHDVIoVr2zXscSWAgrJNgLE6P3rXG2pM0WNknvg1ybdIrZ3GFAsO075YOs1N M5yVH2P8AIAfLjTbH+wfZquG+6yOJwsAfOnNbwwqpac/WPoyRb4ZM5L2wyHT+YsmlmMa fqoPx3mbGdiw6lsa4FT+rOmiSY0TzYouHCnv5KUYJFbuamEwwFHpZoXKkZiazanuyr8Q ULUN2rj1vHHL1Rai0dUv8xROQPsJlcsAL19MO9LQ8udFxGhrkoa6sYAF72tw5gbpcxGy wzGRD20s+vgf4AnV0w/IiKxm/A022C7u48fZ7vbfB0kEOppbcScTD0xA1A9hoAtPQB2p GT2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=lgDxZGWr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gi13-20020a17090b110d00b00230b5621adasi16364895pjb.45.2023.04.18.07.54.38; Tue, 18 Apr 2023 07:54:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=lgDxZGWr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232131AbjDROnf (ORCPT + 99 others); Tue, 18 Apr 2023 10:43:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43484 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231192AbjDROn1 (ORCPT ); Tue, 18 Apr 2023 10:43:27 -0400 Received: from mx0b-001ae601.pphosted.com (mx0a-001ae601.pphosted.com [67.231.149.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0E6512CB4 for ; Tue, 18 Apr 2023 07:43:25 -0700 (PDT) Received: from pps.filterd (m0077473.ppops.net [127.0.0.1]) by mx0a-001ae601.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 33IDaWqh031292; Tue, 18 Apr 2023 09:43:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=PODMain02222019; bh=FhxnCwEMIKRj+m8KW5BRkRVM+8FCcfQ+ParKlZcL1zY=; b=lgDxZGWrUFpCQM8lwaDTZpJ0uUOtkxoFvI+0kA1om3uKKo5tdkCdhk8NUThU0pZx84j+ CRCA/1NzzSrt93cMZeNRaXLcTY7iqBX4+0uT9HISugwXpx2ZacgPHFM3cTSfWzdPzEPH iWrJeSIJ0bGMpARl0LG+HTLqF/MeVnDzp7S266RYFAdlk7WLTZCPNykMEdDLcFUtcnTM Ow9aH+X1WBxMv1lrackxUlHc0S4MZUz3Hq+Qj6s5/vjCQewBhhSPk0tsqvQv+KqxOQtK dWOFPcTC5X337sITP8q1aPotYDb66VZAxMbcBEnYIEyFAAxHTpkc+8W4pXcFgPOuLQ2B sg== Received: from ediex01.ad.cirrus.com ([84.19.233.68]) by mx0a-001ae601.pphosted.com (PPS) with ESMTPS id 3pysb4wm9n-3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 18 Apr 2023 09:43:13 -0500 Received: from ediex01.ad.cirrus.com (198.61.84.80) by ediex01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Tue, 18 Apr 2023 09:43:10 -0500 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by ediex01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Tue, 18 Apr 2023 09:43:10 -0500 Received: from edi-sw-dsktp-006.ad.cirrus.com (edi-sw-dsktp-006.ad.cirrus.com [198.90.251.127]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id 1990515B6; Tue, 18 Apr 2023 14:43:10 +0000 (UTC) From: Richard Fitzgerald To: CC: , , , Richard Fitzgerald Subject: [PATCH 3/4] ASoC: cs35l56: Remove SDW2RX1 mixer source Date: Tue, 18 Apr 2023 15:43:08 +0100 Message-ID: <20230418144309.1100721-4-rf@opensource.cirrus.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230418144309.1100721-1-rf@opensource.cirrus.com> References: <20230418144309.1100721-1-rf@opensource.cirrus.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: hQfokdPFYCiZM-2wKp0Eg-GdgKkNqlJP X-Proofpoint-GUID: hQfokdPFYCiZM-2wKp0Eg-GdgKkNqlJP X-Proofpoint-Spam-Reason: safe X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 The mixer source index value for SDW2RX1 is different between A1 and B0 silicon. As the driver doesn't provide a DAI for SDW2 just remove it as a mixer source option. Signed-off-by: Richard Fitzgerald --- include/sound/cs35l56.h | 3 +-- sound/soc/codecs/cs35l56-shared.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/include/sound/cs35l56.h b/include/sound/cs35l56.h index dd7503464651..0b2f7cfc6a4a 100644 --- a/include/sound/cs35l56.h +++ b/include/sound/cs35l56.h @@ -181,10 +181,9 @@ #define CS35L56_INPUT_SRC_INTERPOLATOR 0x40 #define CS35L56_INPUT_SRC_SWIRE_RX1 0x44 #define CS35L56_INPUT_SRC_SWIRE_RX2 0x45 -#define CS35L56_INPUT_SRC_SWIRE_RX3 0x46 #define CS35L56_INPUT_MASK 0x7F -#define CS35L56_NUM_INPUT_SRC 22 +#define CS35L56_NUM_INPUT_SRC 21 /* ASP formats */ #define CS35L56_ASP_FMT_DSP_A 0 diff --git a/sound/soc/codecs/cs35l56-shared.c b/sound/soc/codecs/cs35l56-shared.c index f5fa6bb04d38..93a1b056660b 100644 --- a/sound/soc/codecs/cs35l56-shared.c +++ b/sound/soc/codecs/cs35l56-shared.c @@ -278,7 +278,7 @@ const char * const cs35l56_tx_input_texts[] = { "None", "ASP1RX1", "ASP1RX2", "VMON", "IMON", "ERRVOL", "CLASSH", "VDDBMON", "VBSTMON", "DSP1TX1", "DSP1TX2", "DSP1TX3", "DSP1TX4", "DSP1TX5", "DSP1TX6", "DSP1TX7", "DSP1TX8", "TEMPMON", - "INTERPOLATOR", "SDW1RX1", "SDW1RX2", "SDW2RX1", + "INTERPOLATOR", "SDW1RX1", "SDW1RX2", }; EXPORT_SYMBOL_NS_GPL(cs35l56_tx_input_texts, SND_SOC_CS35L56_SHARED); @@ -304,7 +304,6 @@ const unsigned int cs35l56_tx_input_values[] = { CS35L56_INPUT_SRC_INTERPOLATOR, CS35L56_INPUT_SRC_SWIRE_RX1, CS35L56_INPUT_SRC_SWIRE_RX2, - CS35L56_INPUT_SRC_SWIRE_RX3, }; EXPORT_SYMBOL_NS_GPL(cs35l56_tx_input_values, SND_SOC_CS35L56_SHARED); -- 2.30.2