Re: [PATCH 2/3] gpiolib: use kref in gpio_desc

From: Bartosz Golaszewski
Date: Wed Mar 25 2020 - 07:36:11 EST


År., 25 mar 2020 o 12:16 Linus Walleij <linus.walleij@xxxxxxxxxx> napisaÅ(a):
>
> On Mon, Mar 23, 2020 at 9:44 AM Bartosz Golaszewski <brgl@xxxxxxxx> wrote:
>
> > Hi Linus,
> >
> > what is your decision on this? Because if we don't merge this, then we
> > need to make sure nvmem doesn't call gpiod_put() for descriptors it
> > didn't obtain itself and we should probably fix it this week.
>
> I'm simply just overloaded right now, things related to how the world
> looks etc. Also Torvalds writes in Documentation/process/management-style.rst
> that if someone ask you to make a decision, you are screwed :/
>

I see, yeah the times are uncertain for sure. :(

> Your decision is as good as mine, I'm not smarter in any
> way so if it is urgent send me a pull request for the solution that seems best
> to you, I trust you on this.
>

There are no users right now of the broken interface, so I'll just
send a patch with an appropriate comment to Srinivas for the time
being and we can try to fix it in the next release.

Bartosz