[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <63356933-3da7-4068-ad77-0f0e8d8915be@sirena.org.uk>
Date: Tue, 31 Oct 2023 12:53:14 +0000
From: Mark Brown <broonie@...nel.org>
To: Artur Weber <aweber.kernel@...il.com>
Cc: Lee Jones <lee@...nel.org>, Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>,
Florian Fainelli <florian.fainelli@...adcom.com>,
Ray Jui <rjui@...adcom.com>,
Scott Branden <sbranden@...adcom.com>,
Broadcom internal kernel review list
<bcm-kernel-feedback-list@...adcom.com>,
Liam Girdwood <lgirdwood@...il.com>,
Stanislav Jakubek <stano.jakubek@...il.com>,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH v2 6/6] regulator: bcm590xx: Add proper handling for
PMMODE registers
On Mon, Oct 30, 2023 at 08:41:48PM +0100, Artur Weber wrote:
> + for (i = 0; i < pmctrl_count; i++) {
> + ret = regmap_write(regmap, pmctrl_addr + i, mode_mask);
> + if (ret)
> + return ret;
> + }
Why not a bulk write? What happens when the new values are partially
written, both if there's an error and just transiently?
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists