[PATCH] pinctrl: sunxi: Fix multiple registration issue
Linus Walleij
linus.walleij at linaro.org
Thu May 22 15:37:00 PDT 2014
On Thu, May 22, 2014 at 4:25 PM, Maxime Ripard
<maxime.ripard at free-electrons.com> wrote:
> When the support for the PRCM muxer on the A31 has been added, the global
> static pinctl_desc definition has been left as is. Unfortunately, this
> structure is used to register the pinctrl device, and prior to this
> registration, we set the name and pins field.
>
> Since this structure is shared across instances, that means that the latest
> registered pinctrl device wins in setting the name, pins and pins numbers,
> which is not really a good thing.
>
> Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>
Patch applied.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list