Re: [PATCH] regmap: don't check for alignment when using reg_shift

From: Maxime Chevallier
Date: Thu May 11 2023 - 02:52:27 EST


Hello Mark, Colin,

On Sat, 6 May 2023 09:18:19 +0900
Mark Brown <broonie@xxxxxxxxxx> wrote:

> On Fri, May 05, 2023 at 10:19:29AM -0700, Colin Foster wrote:
>
> > Sorry for a really delayed response, but I just got back around to
> > thinking about this. Crazy busy times for me.
>
> > What about an explicit parameter in regmap_config that will disable
> > alignment checks? That seems like it might be a welcome feature
> > addition.
>
> You can already just not specify an alignment requirement - if you can
> configure the regmap to specify some new flag you could also just not
> specify the alignment requirement in the first place.

Ok thanks, I will try that approach then. Thanks !

Maxime