[PATCH v2 04/10] pinctrl: sunxi: Prepare for building SoC specific drivers as modules

Linus Walleij linus.walleij at linaro.org
Tue May 19 07:58:19 PDT 2015


On Tue, May 19, 2015 at 9:55 AM, Maxime Ripard
<maxime.ripard at free-electrons.com> wrote:

>> Apart from that, currently the kernel panics some seconds after removing
>> the pinctrl module because mmc wants to access a gpio. Can this be
>> prevented somehow? I think pinctrl must not be removed once other
>> devices use any pin-related things.
>
> pinctrl_unregister doesn't look like it cares about whether or not
> there's users left in the system.

Both GPIO and pinctrl has this problem, Johan Hovold has been
looking at fixing the GPIO side of things.

Patches welcome.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list