[PATCH master 2/7] nvmem: bsec: correct regmap's max_register

Robin van der Gracht robin at protonic.nl
Mon Jan 8 04:48:48 PST 2024


On Mon, 8 Jan 2024 12:17:09 +0100
Robin van der Gracht <robin at protonic.nl> wrote:

...
> > 
> > barebox at Linux Automation MC-1 board:/ ls -l /dev/stm32-bsec 
> > crw-------            384 /dev/stm32-bsec  
> 
> Thats more like it. I'll apply the full series and recheck.

This works as expected. Thanks.

Minor note:

As you mention in your patch notes:
"struct regmap::max_register is in units of struct regmap::reg_stride"

This used to be the value of the maximum register number (index).
The doc in include/linux/regmap.h line 33 mentions 'index'. Maybe that
needs some mentioning of stride as well..

Regardless:
Tested-by: Robin van der Gracht <robin at protonic.nl>



More information about the barebox mailing list