[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdZoX0pTqWwvhj__kVtnHqrYD4bJ0JaXzxBo8jOZEtd70Q@mail.gmail.com>
Date: Tue, 27 Nov 2018 11:50:54 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Mark Brown <broonie@...nel.org>
Cc: Charles Keepax <ckeepax@...nsource.cirrus.com>,
Liam Girdwood <lgirdwood@...il.com>,
Marek Szyprowski <m.szyprowski@...sung.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
patches@...nsource.cirrus.com
Subject: Re: [PATCH 3/3] gpio: Add reference counting for non-exclusive GPIOs
On Mon, Nov 26, 2018 at 10:53 PM Linus Walleij <linus.walleij@...aro.org> wrote:
> I suspect maybe the lesser evil is to bite the bullet, invent
> gpiod_get_from_of_node() which is the missing API (we currently
> only have devm_gpiod_get_from_of_node()) and simply
> fix up the converted regulator drivers to avoid devm_*
> retrieveal in the same manner as wm8994 (the already
> queued patch). This will make the regulator core own the
> refcounting as it does today.
>
> It's a bit unelegant but it's very straight forward and I know
> I can fix it up qucikly.
I cooked a series like this, just taking it for a ride on the
0day build server before sending it out.
Yours,
Linus Walleij
Powered by blists - more mailing lists