On Mon, Nov 23, 2020 at 10:31:05PM +0100, Jonathan Neuschäfer wrote: > On Mon, Nov 23, 2020 at 12:10:54AM +0100, Alexandre Belloni wrote: > > Couldn't you do a regmap_block_write or a regmap_multi_reg_write which > > would be more efficient as they would be locking the regmap only once. > I can't find regmap_block_write anywhere, but regmap_multi_reg_write > looks like a good approach to simplify the code here. I suspect he's thinking of bulk rather than block there.
Attachment:
signature.asc
Description: PGP signature