Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp1103654rdb; Fri, 19 Jan 2024 08:14:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IHlO+a5fM+tU1fudVkao6a/Q+idiZPtVBadb8e23CQfwokSgY1rr7Sn4IBQGvRDfqUH72yz X-Received: by 2002:a05:6358:339f:b0:175:49f7:952f with SMTP id i31-20020a056358339f00b0017549f7952fmr2752299rwd.63.1705680886234; Fri, 19 Jan 2024 08:14:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705680886; cv=pass; d=google.com; s=arc-20160816; b=ZUXodlap0Sgr6cLVJev+V20hQprS0JJ/N4qf5TF89HkdiDAQ6cFwds13VCuaPfBe+C CuWs0PzfmuqmBSaKFwfqkw14I16VWwVZ5zRo49VmkvxpBF+KlkCr0vwuKKZeyJtYgZP+ StO+tZYtumMTW6bFHGS4TJK4f9joDJK7JK7TOkEyxyBb+P5NTDAfx3FiIJ1sad9o6LY/ EoouWZvYVD0aE49K1U2LTOps2L79cLfn3XoJL+vgwDsfKIZIrj39sTrkEVcg2+OfO6vt 3gxjFnkrcSiSDRYWr562Joi6ICW8FUR9BKs7D4aLVH3saRotdoNXV1IuJJkdMSJ7jPQB weKA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=MZS8+douymIyp/G1h1ov9Y1Rdr9Hj7ajOnwayf3/aT4=; fh=rljnTjSwIK6QAEbCV46FhPT7qav51vkzesfeV9tpxl8=; b=g5alxT4cmEz1cO88EA1N2KwNKvI6ARnnm3Ajjd3U57ZHiL1qATZmCgH+ACJJo4DB3g SYoaXIxFXFoz4RxzhayWwQfpOOPCiZYCgj/siHAcUKkixTCnUdbVtnOhQgrQ74zaTIBA /coCBlj+vCY1nY7zR2iAMj1q0TRPLq2wpE+zh0786sEbVz9yM48RYOEe9feJ9vWEoDsX 5PVnux35cMWhODMNK6hVNfrDlcE0BmKqYRz4v0WDRW8KNKqTsndJir86RsXXvLORFSSI 30VSMwgqjCkdAZpJTOAuoaQgNiTJr3CyMjPW1DiYY77dm41fkk0fpBFVvORDmwv/jMW4 0lKg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=QcdvfmmW; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-31351-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-31351-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id ed18-20020a056130151200b007d2a4882177si868169uab.149.2024.01.19.08.14.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jan 2024 08:14:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-31351-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=QcdvfmmW; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-31351-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-31351-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id EDA5E1C23A58 for ; Fri, 19 Jan 2024 16:14:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2470654FA8; Fri, 19 Jan 2024 16:14:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="QcdvfmmW" Received: from mail-lj1-f181.google.com (mail-lj1-f181.google.com [209.85.208.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B9A2752F84; Fri, 19 Jan 2024 16:14:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705680879; cv=none; b=PZhxs1GtTcgCn06MQT7SEYPMQyss9VoV2remSPHUGkgoHTHFA7bZkr9Mpg3WBQ7BdXnp+Yh6y+k6qv2yiGkelTjfqa6lRNB+kBqZpaAHKB8YJM84YE4dnnlTRxgXFwv91j22RaTmaj6npV3ApF0IiSYw2TOJUg0KvgwPEz8OolY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705680879; c=relaxed/simple; bh=B7zL9FKEcp0/CRVmWRJ5gFi5msLCspc37+NygTzDgY0=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=jIbfP/aYotjH4xerXVw1PZHaeQmle6kiZJkPSVpNcBsSxW8Ht+xZZgKHlHt/MAssUVUvEAjBLf4kob8H6VdSHGVWRvpW2pre7UaRu3q2LQmN26TuHH7tTS6slVp/QaIqjK3VpZ9iKiQK+1VGE/igL5znhZmkJuwUnLVdO1JzXoU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=QcdvfmmW; arc=none smtp.client-ip=209.85.208.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lj1-f181.google.com with SMTP id 38308e7fff4ca-2cceb5f0918so10728961fa.2; Fri, 19 Jan 2024 08:14:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705680876; x=1706285676; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=MZS8+douymIyp/G1h1ov9Y1Rdr9Hj7ajOnwayf3/aT4=; b=QcdvfmmWnWT5SWNEH4cP5iREbv7+7NCWtkapfyv8jthPS8j6pccMPtsCA6t5vQd2/E uO7FGzjqqih9qUTh/6W3ADQLlQUKAmRXBNqYjsCwtPLuNLsliivi/dxXCtaTdaeJ67vP bPG2/eR4+VWAnKEQcAI1R8974g+H8XCExAcGTVWBR/6ondAoodYgU8Y2FFne6f1gXTzb QOIikTiSLHNqguW84maKn9TVoe/OLfLVcYuwm4OiOntS5rU2dJnAIqZV9mlXX4i/J6mG rY7/0NcRQ9SJQyrwM76MegJro2IivCTxMXVVQFtQ6qTWsTu2G0zwBUk2ZZUYvHceIkKe Z1Xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705680876; x=1706285676; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=MZS8+douymIyp/G1h1ov9Y1Rdr9Hj7ajOnwayf3/aT4=; b=jPGzuB6on8DKfuK5DZodh/An3kHmi2jNc3GZVIlsWMeKpBeVBe4VwlpnzJND/HpJcf O3cg/D3wi8uDDNZxVNrG0mNKqsQS8gALgpmdhYkt+HpFKrUEav7Y5r5rYv9BtVlgqjNq iUacDy4AxxddKL6aKXr/BgB7PEoiWvHKNtUof0gGSaNSi6J+gU+9dcGH0gqnty+DskBN +IuNlh452J9MJIYYBqEOWtAzk4HBIgzOUK6VFi+Dk1wQc9I4Vl2t7puVJcgiemjihleZ f7KvdAbSTtUgfk5AAUsLmCkuZlPgqHwpAQxfupvCvia5j+cb4SnLaWTZvUI9w687c68c FWOA== X-Gm-Message-State: AOJu0YwPR/CdJZb83fyXxWn2HjAoP7sO65Slob+sOLxll9+bgsBHRzll OHd5PD2c+13walH1SlbySRSZCgeFpWlh7geAotaT437aiIMQhPCAbKjWwlGiWiZXM6bKzesvso9 6OxXlavGDLbQrrv9AD82x8Vj0j84= X-Received: by 2002:ac2:446e:0:b0:50e:7be8:46fd with SMTP id y14-20020ac2446e000000b0050e7be846fdmr519933lfl.208.1705680875590; Fri, 19 Jan 2024 08:14:35 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20230804104602.395892-1-ckeepax@opensource.cirrus.com> <20230804104602.395892-7-ckeepax@opensource.cirrus.com> In-Reply-To: From: Andy Shevchenko Date: Fri, 19 Jan 2024 18:13:59 +0200 Message-ID: Subject: Re: [PATCH v7 6/6] ASoC: cs42l43: Add support for the cs42l43 To: Mark Brown Cc: Charles Keepax , lee@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linus.walleij@linaro.org, vkoul@kernel.org, lgirdwood@gmail.com, yung-chuan.liao@linux.intel.com, sanyog.r.kale@intel.com, pierre-louis.bossart@linux.intel.com, alsa-devel@alsa-project.org, patches@opensource.cirrus.com, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Jan 19, 2024 at 12:07=E2=80=AFAM Mark Brown wr= ote: > On Thu, Jan 18, 2024 at 10:46:28PM +0200, Andy Shevchenko wrote: > > On Thu, Jan 18, 2024 at 8:11=E2=80=AFPM Mark Brown = wrote: > > > On Thu, Jan 18, 2024 at 07:41:54PM +0200, andy.shevchenko@gmail.com w= rote: > > > > Fri, Aug 04, 2023 at 11:46:02AM +0100, Charles Keepax kirjoitti: > > > > > > + unsigned int hs2 =3D 0x2 << CS42L43_HSDET_MODE_SHIFT; > > > > > BIT(1) ? > > > > Given that this is writing a value into a register field called "MODE= " > > > it seems very likely that it's an enumeration value rather than a > > > bitmask (and similarly for all the other places where you're making > > > similar comments). Please think a bit more about the code being > > > commented on when making these minor stylistic comments. > > > I read a bit further and have given a comment about this as you put it > > above that they are plain values. > > Please, read my comments in full. > > I did eventually find that while going through the other comments but > given that the earlier ones hadn't been revised and it was all a bunch > of different fields it still seemed useful to highlight, if nothing else > it was a little unclear that your later comment applied to all the > fields you were asking for updates to. Yeah, I was thinking about that during the review, that's why I first commented and then concluded that those comments are kinda bogus. > In general in a case like this where the code is already in tree it does > seem like it'd be better to just write patche for the stylistic issues. Sure. I believe Charles will address some of them, if not all. --=20 With Best Regards, Andy Shevchenko