Re: [PATCH] pinctrl: imx: reset group index on probe

2016-10-25 Thread Vladimir Zapolskiy
Hi Linus, Stefan, On 25.10.2016 12:11, Linus Walleij wrote: > On Wed, Oct 19, 2016 at 12:40 AM, Vladimir Zapolskiy wrote: > >> I've recently developed a pinctrl driver for the last remaining >> i.MX31 platform from the SoC series (not published yet), it does >> not fit well

Re: [PATCH] pinctrl: imx: reset group index on probe

2016-10-25 Thread Vladimir Zapolskiy
Hi Linus, Stefan, On 25.10.2016 12:11, Linus Walleij wrote: > On Wed, Oct 19, 2016 at 12:40 AM, Vladimir Zapolskiy wrote: > >> I've recently developed a pinctrl driver for the last remaining >> i.MX31 platform from the SoC series (not published yet), it does >> not fit well under any of the 3

Re: [PATCH] pinctrl: imx: reset group index on probe

2016-10-25 Thread Linus Walleij
On Wed, Oct 19, 2016 at 12:40 AM, Vladimir Zapolskiy wrote: > I've recently developed a pinctrl driver for the last remaining > i.MX31 platform from the SoC series (not published yet), it does > not fit well under any of the 3 existing drivers, and instead > of adding 1.5K lines

Re: [PATCH] pinctrl: imx: reset group index on probe

2016-10-25 Thread Linus Walleij
On Wed, Oct 19, 2016 at 12:40 AM, Vladimir Zapolskiy wrote: > I've recently developed a pinctrl driver for the last remaining > i.MX31 platform from the SoC series (not published yet), it does > not fit well under any of the 3 existing drivers, and instead > of adding 1.5K lines of code with

Re: [PATCH] pinctrl: imx: reset group index on probe

2016-10-25 Thread Linus Walleij
On Tue, Oct 18, 2016 at 11:09 PM, Stefan Agner wrote: > Group index is incremented on every new group parsed. Since the > field is part of struct imx_pinctrl_soc_info, which is typically > a global variable passed by the individual pinctrl-imx.c based > driver, it does not get

Re: [PATCH] pinctrl: imx: reset group index on probe

2016-10-25 Thread Linus Walleij
On Tue, Oct 18, 2016 at 11:09 PM, Stefan Agner wrote: > Group index is incremented on every new group parsed. Since the > field is part of struct imx_pinctrl_soc_info, which is typically > a global variable passed by the individual pinctrl-imx.c based > driver, it does not get cleared

Re: [PATCH] pinctrl: imx: reset group index on probe

2016-10-18 Thread Vladimir Zapolskiy
Hi Stefan, On 19.10.2016 00:09, Stefan Agner wrote: > Group index is incremented on every new group parsed. Since the > field is part of struct imx_pinctrl_soc_info, which is typically > a global variable passed by the individual pinctrl-imx.c based > driver, it does not get cleared automatically

Re: [PATCH] pinctrl: imx: reset group index on probe

2016-10-18 Thread Vladimir Zapolskiy
Hi Stefan, On 19.10.2016 00:09, Stefan Agner wrote: > Group index is incremented on every new group parsed. Since the > field is part of struct imx_pinctrl_soc_info, which is typically > a global variable passed by the individual pinctrl-imx.c based > driver, it does not get cleared automatically

[PATCH] pinctrl: imx: reset group index on probe

2016-10-18 Thread Stefan Agner
Group index is incremented on every new group parsed. Since the field is part of struct imx_pinctrl_soc_info, which is typically a global variable passed by the individual pinctrl-imx.c based driver, it does not get cleared automatically when re-probing the driver. This lead

[PATCH] pinctrl: imx: reset group index on probe

2016-10-18 Thread Stefan Agner
Group index is incremented on every new group parsed. Since the field is part of struct imx_pinctrl_soc_info, which is typically a global variable passed by the individual pinctrl-imx.c based driver, it does not get cleared automatically when re-probing the driver. This lead