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

From: Mark Brown
Date: Fri May 05 2023 - 20:18:27 EST


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.

Attachment: signature.asc
Description: PGP signature