Re: [PATCH] pinctrl: imx: fix initialization of imx_pinctrl_desc

From: Linus Walleij
Date: Tue May 31 2016 - 04:55:23 EST


On Wed, May 18, 2016 at 11:31 AM, Peng Fan <van.freenix@xxxxxxxxx> wrote:

> To i.MX7D, there are two iomux controllers, iomuxc and iomuxc_lpsr.
> They should not share one pin controller descriptor, otherwise
> the value filled into imx_pinctrl_desc when probing the first
> iomux controller will be overridden when probing the second one.
>
> In this patch, discard the static allcoated imx_pinctrl_desc and
> switch to dynamically allcate pin controller descriptor for each
> iomux controller.
>
> Signed-off-by: Peng Fan <van.freenix@xxxxxxxxx>
> Cc: Linus Walleij <linus.walleij@xxxxxxxxxx>
> Cc: Shawn Guo <shawnguo@xxxxxxxxxx>
> Cc: Philipp Zabel <p.zabel@xxxxxxxxxxxxxx>
> Cc: Stefan Agner <stefan@xxxxxxxx>
> Cc: Vladimir Zapolskiy <vz@xxxxxxxxx>

Looks reasonable to me so patch applied since noone is responding.

Yours,
Linus Walleij