lkml.org 
[lkml]   [2022]   [Jul]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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]
\
 
 \ /
  Last update: 2022-07-25 13:47    [W:0.037 / U:0.292 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site