Re: [PATCH 3/3] gpio: Add reference counting for non-exclusive GPIOs

From: Charles Keepax
Date: Mon Nov 26 2018 - 11:53:46 EST


On Mon, Nov 26, 2018 at 02:54:28PM +0000, Mark Brown wrote:
> On Mon, Nov 26, 2018 at 02:30:28PM +0000, Charles Keepax wrote:
>
> > Would there perhaps be milage in looking at just making
> > the regulator core request the GPIO, rather than the end
> > drivers? Gives us a single request/free point. We don't need
> > any special flags in the GPIO layer, as its just a single
> > user as far as GPIO is concerned.
>
> Yes, I did suggest that earlier in the thread :/

Sorry yes it seems I misread what you had written earlier, I will
have a quick look see what a patch to do this might look like.

Thanks,
Charles