Re: [PATCH v2 6/6] regulator: bcm590xx: Add proper handling for PMMODE registers
From: Mark Brown <broonie@kernel.org>
Date: 2023-10-31 12:53:25
Also in:
linux-devicetree, lkml
From: Mark Brown <broonie@kernel.org>
Date: 2023-10-31 12:53:25
Also in:
linux-devicetree, lkml
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?