[PATCH] pinctrl: imx5: start numbering pad from 0

Linus Walleij linus.walleij at linaro.org
Tue Aug 14 05:50:13 EDT 2012


On Mon, Aug 13, 2012 at 4:47 PM, Shawn Guo <shawn.guo at linaro.org> wrote:

> Unlike imx6q pinctrl driver that starts nubmering pad from 0, imx5
> pinctrl drivers number pad from 1.  It causes problem/confusion when
> driver accesses imx51_pinctrl_pads array using pin ID as the index.
>
> Change imx51_pads and imx53_pads numbering start from 0.
>
> Signed-off-by: Shawn Guo <shawn.guo at linaro.org>

Applied.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list