Messages in this thread | | | Date | Tue, 31 Oct 2023 12:53:14 +0000 | From | Mark Brown <> | 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? [unhandled content-type:application/pgp-signature] | |