Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp436140lqp; Sat, 13 Apr 2024 03:51:21 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWbHgSL5HxOIs70jGOb5Ygsl72Hb0vilahkWoQzv+u9990rylDmUXm7WI85TKZSKRgnR0MzDtsFcGBetEssDZNUNYMGuyPEcykkAWQXQA== X-Google-Smtp-Source: AGHT+IEQfyp2jNK0yz6kfSb4kC1XkxiVAGdPYt98Z2CKwN6TprU93LI4y0FPXdb1zgjslK+9BhZf X-Received: by 2002:a05:620a:5a6f:b0:789:ffd3:fcd8 with SMTP id wx47-20020a05620a5a6f00b00789ffd3fcd8mr5373778qkn.23.1713005481017; Sat, 13 Apr 2024 03:51:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713005481; cv=pass; d=google.com; s=arc-20160816; b=PikRsWSp76uYWOxydoLp0Yf2twhgRoDxL2Cyi+KGXPZQttv/OxXHEFZBnKjDj6bMIJ K6o/p5BllmrXLgMs6k+YbFYDJRIbWtS7Pu12ypYZag/UnchZ2GSibASlQCCqeewvFvvI LQM9BJTo6YvciT2Dq8PzSrtOYb79giyQC6IAnflsuB+GDC26QRzAuzmEaD1UvI/yLhIU pjG2Y9gtlhEFi205FEcv4WCsymd6Vg7WeBKyAJJbkBzHnKUD58YiUzBOVg8OgOhNrkTc qhGBFLeKxTo/2B+2eW0rPtbLGuT96xhTKdeU989G9yv14A0/LrvGCTs0rhXOCAK4cZZE ptBw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=Y10A2VpAhWoHI1qB8UNPmqFi7d5VPfNeyUk6o/o3s+Y=; fh=FH+qPOqc1BGcW7OlmsMfPBTRRn2SdiO9SB+EA5WEXS8=; b=W8xdtFIkE4opl3+rmHYE3UtBcXdZZUZAvfjecOmVl9BwSS7HBIGLfti2xrfkSI6qvR /qnRiIDn4kCLc2NHgV7Oxv3g1GoLqS3OgdVlYVcWIasGsFh6Qg3+Hr3j5t0ZnfYo7tWJ 8gMkArITYkCRSY4kkO2wWd/ikeXHKRpqpXw30Xrj8YJsEngbB1soJ081c97T7DShui9q oxRZYWbGe/bDLyVm8sSZlKNxh418IRpS0/heIt+knEGJbT25NdHigbz/Sv5HT6q+2Rcn 8dpyH8upt2HauDLuju5+W6E8ihA9M77oES3mb+KkDE9cBWN+5znuQx8fP2fSUPM81aAR cB6w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=k1j0+eXL; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-143691-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-143691-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id j10-20020a37ef0a000000b0078d63ec8e2esi5046278qkk.550.2024.04.13.03.51.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Apr 2024 03:51:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-143691-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=@kernel.org header.s=k20201202 header.b=k1j0+eXL; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-143691-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-143691-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 AF8F61C20D58 for ; Sat, 13 Apr 2024 10:51:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9C6C53D977; Sat, 13 Apr 2024 10:51:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="k1j0+eXL" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BBCF22032B; Sat, 13 Apr 2024 10:51:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713005471; cv=none; b=d4SWKO6lAO0Tc58g3o+/YqNUgni6TvZsOun5a0PGqbMusdo8g3Lp6jbdkOBsNi5vDDa4oo2s53tjI6DwSus4ODu3WMbLT28M+s2lDhpnELn7YADBsGuUk8cgtR3OI+HstSp5nfazfTVHyrVPORM9CBIfnSTLgSjtQ7Ct2xO6aVI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713005471; c=relaxed/simple; bh=1I9aNImIGoSMVbeQ1cOQLSbD7GRmUwabTf9B4XP8dhU=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=lkf9QyIYp63QZF9U7DKgTntw57t7o3/pkxTEBj9UKUuPIHQA2qni3CqkVlWKb39KPxIs0oDLhPUpYij19e8d+k5snqOranvWVhP4A/ggVy3gQkGQggL8Aox1ULhTdETnX6qPcIQzvNoXu3zQ1kz3b2z9XbdbFOf92wCwYw8YqaQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=k1j0+eXL; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A8CC7C113CD; Sat, 13 Apr 2024 10:51:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713005471; bh=1I9aNImIGoSMVbeQ1cOQLSbD7GRmUwabTf9B4XP8dhU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=k1j0+eXL1VZR5woVbQsVy0+ucqsBoUvbUu/TfAEw2hG8/NJL6ckoX3tU4T5v7BjLC HhXZCyaD5FhzGJ/wZkC3FRiGS6DRaD9EZ/E0QBEyHKuCavHZDA50aPVnTgj9rY/Rdn r8HSfpYJzdPtsOCM16lUtitqosP7eZa4YH/0RoDnMTKQjrj+zYiMf2eqKNrb2+MNAm OYTdNCwl+DRgNRlrIyY5ZO5JNcXyKRzkqcDQg0MdgnuG412OSKjmnNT4002oQ/n2TE A9+hB1pZ03RHkQYnagiCTaQzQbTYQLb4TlhvxcxesI6ea56Bssm4F0XEYmQjhuaesh jdHo3Cp3+Gpag== Date: Sat, 13 Apr 2024 11:50:55 +0100 From: Jonathan Cameron To: "Ceclan, Dumitru" Cc: Dumitru Ceclan via B4 Relay , dumitru.ceclan@analog.com, Lars-Peter Clausen , Michael Hennerich , Rob Herring , Krzysztof Kozlowski , Conor Dooley , David Lechner , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/6] iio: adc: ad7173: fix buffers enablement for ad7176-2 Message-ID: <20240413115055.4f7a5892@jic23-huawei> In-Reply-To: <05ef3e35-1ce0-48c4-9517-e8c1280cf96d@gmail.com> References: <20240401-ad4111-v1-0-34618a9cc502@analog.com> <20240401-ad4111-v1-2-34618a9cc502@analog.com> <20240406155646.694f710b@jic23-huawei> <05ef3e35-1ce0-48c4-9517-e8c1280cf96d@gmail.com> X-Mailer: Claws Mail 4.2.0 (GTK 3.24.41; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Mon, 8 Apr 2024 19:40:26 +0300 "Ceclan, Dumitru" wrote: > On 06/04/2024 17:56, Jonathan Cameron wrote: > > On Mon, 01 Apr 2024 18:32:20 +0300 > > Dumitru Ceclan via B4 Relay wrote: > > > >> From: Dumitru Ceclan > >> > >> AD7176-2 does not feature input buffers, enable buffers only on > >> supported models. > >> > >> Fixes: cff259bf7274 ("iio: adc: ad7173: fix buffers enablement for ad7176-2") > >> Signed-off-by: Dumitru Ceclan > > How bad is this? If you can find out if writing those bits does anything > > harmful (they are reserved and datasheet says should be written 0 I think) > > That will help people decide whether to backport the fix? > > The bits are marked as read-only and there does not seem to be any effect on the ADC. > So drop this one? Patch is good as makes the driver more consistent, just drop the Fixes tag so we don't end up backporting this. That is basically treat it as code improvement rather than a fix. Add a note on the bits being read only so this not fixing a bug, just an inconsistency. Thanks, Jonathan