Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp272015rdh; Thu, 23 Nov 2023 03:46:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IEUMFvc2mXmrm3mu+3FepyBfNRCFoq4m2c8d7M40AcGCpsYDGqLNGIPTJd9FvJ2YnJmj7Gg X-Received: by 2002:a05:6870:ebc3:b0:1ea:746d:1703 with SMTP id cr3-20020a056870ebc300b001ea746d1703mr7105062oab.7.1700739988977; Thu, 23 Nov 2023 03:46:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700739988; cv=none; d=google.com; s=arc-20160816; b=GQZlmqBLO+0zTLUGuemH8zqSz83KjNKljzsoPyJv0vSOCaZ/aP6xHvkedt+1F+H3+Y QZ/sC97r4KNFT7OrjmNvvvNpzWbUIgFHeBGkcqJUju1YMoP2TEIkggrOaHXIA2Z2Hhor v26UIlagsi5HI+J9plFMfLDKQ0mpqgLwtRC82X06j9161OAtARjqtiZD+C8F+IT+ma9a lREcOJ96cL3C61TRv82WFPgqoIYU7UH6u1v1tNhtid7xjESpVh4bHJ0lsuBDXDkxX5B4 7OMAhL6AkJLqZxHlnYWxHpd50Nr2zirMl4S4jtv+0b+SppwXwaMqPAcIzuA6grvYHAMs 2ONA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=VLviY3398usHXqzE8bFY5Zo50GC0sDV62NYdyLnx1kg=; fh=sfC7nGy/bSxaMbIwsCdKGGRunuwqQGGPvLnCUHJx49A=; b=XKTaz0Bc2B8sqGwu3LHtvUoCCsj7LxQ4vWHGSRGTt4Bk97WUbytNtcuaaV30WfysN0 VYIInMuAq8N50g8yrgGeFjisZEs/G7M2SHlzhZvmiBB3DHPlgB1T3ePFANIqOMCpYTIw JxHzNc2Rjyial80I7kU76+lEIhKyUeMqEMR5fkPN1FPRh0CY15qKan5no9A8P45JlNxB m1WGAsf5Gp/GBkM5kipvYNNr7Q4e0KgTkOucX3B8/v4kfY2i7zaBQXELs/1gSxjQavL/ opE6cyrUPEz8B724O+cz7W/Zre6mhqTUagpMztTj/LAf6mIS2RC0qiMIIK7Om367b08J u0Ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=JWaDhDt0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id cn4-20020a056a020a8400b0057755b2f032si1177436pgb.542.2023.11.23.03.46.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 03:46:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=JWaDhDt0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 580D4822CB14; Thu, 23 Nov 2023 03:46:26 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345105AbjKWLqH (ORCPT + 99 others); Thu, 23 Nov 2023 06:46:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345070AbjKWLqF (ORCPT ); Thu, 23 Nov 2023 06:46:05 -0500 Received: from mx0b-001ae601.pphosted.com (mx0b-001ae601.pphosted.com [67.231.152.168]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1875298 for ; Thu, 23 Nov 2023 03:46:10 -0800 (PST) Received: from pps.filterd (m0077474.ppops.net [127.0.0.1]) by mx0b-001ae601.pphosted.com (8.17.1.22/8.17.1.22) with ESMTP id 3AN7vT5Z000887; Thu, 23 Nov 2023 05:46:07 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=PODMain02222019; bh=VLviY3398usHXqz E8bFY5Zo50GC0sDV62NYdyLnx1kg=; b=JWaDhDt0y8m3vdUQ1ggoPx5IkGjcyKW J/bPJQFPyidmNW/WoV35FXW68DOQ/eftLU55eZBKelqGrgGeXHPoTR7B0DSaZA4g uKmWCfLvkrnYucaLFfN7JmX2Y/niHW/nsr1BV4d8Z3xIYIczRLa66XbObeB3tgAD OlfmimM8iMteH8hVRTG98q7uHKbpVRzPbF2MPY8gj5LvayJjsRUe41yne7bzKh7X AvWBpqOEitmF77H/K1J+9Tk4ltpDeyotFvCvhCmOhtCADCe/IJsnPbhMWT1sg6qD UvUgjDOUAz1Tey+o0vUCJOxt+KT58ZA8AXxfJaiU/7wBMb/vXBPQReA== Received: from ediex02.ad.cirrus.com ([84.19.233.68]) by mx0b-001ae601.pphosted.com (PPS) with ESMTPS id 3uetjpdp2x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 23 Nov 2023 05:46:06 -0600 (CST) Received: from ediex02.ad.cirrus.com (198.61.84.81) by ediex02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.39; Thu, 23 Nov 2023 11:46:05 +0000 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by anon-ediex02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server id 15.2.1118.39 via Frontend Transport; Thu, 23 Nov 2023 11:46:05 +0000 Received: from ediswmail.ad.cirrus.com (ediswmail.ad.cirrus.com [198.61.86.93]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id 35F883581; Thu, 23 Nov 2023 11:46:05 +0000 (UTC) Date: Thu, 23 Nov 2023 11:46:05 +0000 From: Charles Keepax To: Lee Jones CC: , Subject: Re: [PATCH] mfd: cs42l43: Correct SoundWire port list Message-ID: <20231123114605.GQ32655@ediswmail.ad.cirrus.com> References: <20231113150220.1472294-1-ckeepax@opensource.cirrus.com> <20231123113055.GE1243364@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20231123113055.GE1243364@google.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Proofpoint-GUID: tT-YbKIC9JGITieGFF_r-lAgvY_GSL4D X-Proofpoint-ORIG-GUID: tT-YbKIC9JGITieGFF_r-lAgvY_GSL4D X-Proofpoint-Spam-Reason: safe X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,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 lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Thu, 23 Nov 2023 03:46:26 -0800 (PST) On Thu, Nov 23, 2023 at 11:30:55AM +0000, Lee Jones wrote: > On Mon, 13 Nov 2023, Charles Keepax wrote: > > enum cs42l43_sdw_ports { > > - CS42L43_DMIC_DEC_ASP_PORT = 1, > > - CS42L43_SPK_TX_PORT, > > - CS42L43_SPDIF_HP_PORT, > > - CS42L43_SPK_RX_PORT, > > - CS42L43_ASP_PORT, > > + CS42L43_DP1 = 1, > > + CS42L43_DP2, > > + CS42L43_DP3, > > + CS42L43_DP4, > > + CS42L43_DP5, > > + CS42L43_DP6, > > + CS42L43_DP7, > > }; > > This is starting to look a little redundant now. > > I'm not sure if this is better, but it sure takes up less room: > > #define CS42L43_SDW_PORT(port) port > Sure, I think that is better. Will respin the patch. I mean I guess I could also just drop the enum/define entirely and just use the port numbers. But will assume you prefer the define unless I hear otherwise. Thanks, Charles