Re: [RFC PATCH 0/3] regmap: Implement regmap_multi_reg_read()

From: Guenter Roeck
Date: Wed Jul 10 2024 - 23:33:54 EST


On 7/10/24 18:14, Mark Brown wrote:
On Tue, Jul 09, 2024 at 06:56:19PM -0700, Guenter Roeck wrote:
regmap_multi_reg_read() is similar to regmap_bilk_read() but reads from
an array of non-sequential registers. It is helpful if multiple non-
sequential registers need to be read in a single operation which would
otherwise have to be mutex protected.

It would be nice to have KUnit coverage for the new function too.


Agreed, makes sense. I'll have a look and see what I can come up with.
I assume you'd also like to have a unit test for regmap_multi_reg_write() ?

Thanks,
Guenter