Messages in this thread | | | Date | Mon, 25 Jul 2022 12:45:56 +0100 | From | Mark Brown <> | Subject | Re: [PATCH 1/2] regmap: Support accelerated noinc operations |
| |
On Mon, Jul 25, 2022 at 10:58:21AM +0200, Linus Walleij wrote:
> + /* Use the accelerated operation if we can */ > + if (map->bus->reg_noinc_write) { > + size_t val_bytes = map->format.val_bytes;
A lot of duplicated buffer formatting in here... that should probably be factored out rather than copied, otherwise the noinc stuff is going to drift out of sync. [unhandled content-type:application/pgp-signature] | |