Hi Tony,

On Thu, Mar 30, 2017 at 6:16 PM, Tony Lindgren <t...@atomide.com> wrote:
> Recent pinctrl changes to allow dynamic allocation of pins exposed one
> more issue with the pinctrl pins claimed early by the controller itself.
> This caused a regression for IMX6 pinctrl hogs.
>
> Before enabling the pin controller driver we need to wait until it has
> been properly initialized, then claim the hogs, and only then enable it.
>
> To fix the regression, split the code into pinctrl_claim_hogs() and
> pinctrl_enable(). And then let's require that pinctrl_enable() is always
> called by the pin controller driver when ready after calling
> pinctrl_register_and_init().
>
> Depends-on: 950b0d91dc10 ("pinctrl: core: Fix regression caused by delayed
> work for hogs")
> Fixes: df61b366af26 ("pinctrl: core: Use delayed work for hogs")
> Fixes: e566fc11ea76 ("pinctrl: imx: use generic pinctrl helpers for
> managing groups")
> Cc: Fabio Estevam <feste...@gmail.com>
> Cc: Gary Bisson <gary.bis...@boundarydevices.com>
> Cc: Geert Uytterhoeven <ge...@linux-m68k.org>
> Cc: Haojian Zhuang <haojian.zhu...@linaro.org>
> Cc: Masahiro Yamada <yamada.masah...@socionext.com>
> Cc: Mika Penttilä <mika.pentt...@nextfour.com>
> Cc: Mika Westerberg <mika.westerb...@linux.intel.com>
> Cc: Nishanth Menon <n...@ti.com>
> Cc: Shawn Guo <shawn...@kernel.org>
> Cc: Stefan Agner <ste...@agner.ch>
> Signed-off-by: Tony Lindgren <t...@atomide.com>

The display on r8a7740-armadillo800eva still works, so the GPIO hog
needed for that is OK.

Tested-by: Geert Uytterhoeven <geert+rene...@glider.be>

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

Reply via email to