Re: [PATCH 1/2] regmap: Support accelerated noinc operations

From: Mark Brown
Date: Mon Jul 25 2022 - 07:46:07 EST


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.

Attachment: signature.asc
Description: PGP signature