Re: [PATCH RFC 2/2] gpiolib: check the 'ngpios' property in core gpiolib code

From: Andy Shevchenko
Date: Fri Nov 12 2021 - 10:07:26 EST


On Fri, Nov 12, 2021 at 03:48:34PM +0100, Bartosz Golaszewski wrote:
> On Thu, Nov 11, 2021 at 9:47 PM Andy Shevchenko
> <andy.shevchenko@xxxxxxxxx> wrote:

...

> Will do. Just a note: some drivers that parse the ngpios property will
> need to continue doing it themselves as they have additional
> requirements from the value (limited max value, needs to be multiple
> of 8, etc.) on the read value. For those that are obvious, we can
> start converting them after this patch lands.

Sure! No objections from my side.

--
With Best Regards,
Andy Shevchenko