Re: [PATCH 1/3] pinctrl: rollback check for !dev->pins in pinctrl_pm_select*() APIs

2013-07-26 Thread Linus Walleij
On Wed, Jul 17, 2013 at 5:40 PM, Tony Lindgren wrote: > * Grygorii Strashko [130717 04:49]: >> The pinctrl support in Device core assumed to be optional - so, It's >> valid case, when there are no definition for default device's pinctrl >> states in DT at all ("default", "active", "idle", "sleep"

Re: [PATCH 1/3] pinctrl: rollback check for !dev->pins in pinctrl_pm_select*() APIs

2013-07-17 Thread Tony Lindgren
* Grygorii Strashko [130717 04:49]: > The pinctrl support in Device core assumed to be optional - so, It's > valid case, when there are no definition for default device's pinctrl > states in DT at all ("default", "active", "idle", "sleep"). > And in this case dev->pins == NULL and pinctrl_pm_selec

[PATCH 1/3] pinctrl: rollback check for !dev->pins in pinctrl_pm_select*() APIs

2013-07-17 Thread Grygorii Strashko
The pinctrl support in Device core assumed to be optional - so, It's valid case, when there are no definition for default device's pinctrl states in DT at all ("default", "active", "idle", "sleep"). And in this case dev->pins == NULL and pinctrl_pm_select*() API should return 0 always. Now the che