lkml.org 
[lkml]   [2023]   [Oct]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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]
\
 
 \ /
  Last update: 2023-10-31 13:54    [W:0.322 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site