[PATCH] regulator: convert to use gpio_desc internally

Linus Walleij linus.walleij at linaro.org
Thu Jul 3 15:07:13 PDT 2014


On Tue, Jul 1, 2014 at 2:27 PM, Alexandre Courbot <gnurou at gmail.com> wrote:
> On Tue, Jul 1, 2014 at 8:10 PM, Mark Brown <broonie at kernel.org> wrote:
>> On Tue, Jul 01, 2014 at 09:59:01AM +0900, Alexandre Courbot wrote:

>> I don't see security as a big deal - so long as normal, well written
>> code gets the benefit of the access protection I think we're doing
>> enough.  If something jumpst through hoops to bypass it then it's buggy
>> but fundamentally we have to trust the kernel to at least some extent.
>
> The security consideration apart, making GPIOs obtained through gpiod
> shareable seems to be a good way to solve the issue we are having
> here.
>
> Linus, if you agree with the idea I can try to give it a shot sometime
> this week.

I'm game for this approach. I hope this can get Russell's original
problem out of the way.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list