[PATCH] MMCI: fetch pinctrl handle and set default state

2012-10-29 Thread Linus Walleij
This fetches the pinctrl resource for the MMCI driver, and if a "default" state is found, it is activated. Acked-by: Ulf Hansson Signed-off-by: Linus Walleij --- ChangeLog v1->v2: - Change dev_err() to dev_warn() when grabbing the default pins since being unable to obtain the default state is

Re: [PATCH] MMCI: fetch pinctrl handle and set default state

2012-10-29 Thread Russell King - ARM Linux
On Mon, Oct 22, 2012 at 09:52:06AM +0200, Linus Walleij wrote: > + /* enable pins to be muxed in and configured */ > + if (!IS_ERR(host->pins_default)) { > + ret = pinctrl_select_state(host->pinctrl, host->pins_default); > + if (ret) > + dev_err(&

Re: [PATCH] MMCI: fetch pinctrl handle and set default state

2012-10-22 Thread Ulf Hansson
Acked-by: Ulf Hansson On 22 October 2012 09:52, Linus Walleij wrote: > From: Linus Walleij > > This fetches the pinctrl resource for the MMCI driver, and if > a "default" state is found, it is activated. > > Signed-off-by: Linus Walleij > --- > drivers/mmc/host/mmci.c | 18 ++

[PATCH] MMCI: fetch pinctrl handle and set default state

2012-10-22 Thread Linus Walleij
From: Linus Walleij This fetches the pinctrl resource for the MMCI driver, and if a "default" state is found, it is activated. Signed-off-by: Linus Walleij --- drivers/mmc/host/mmci.c | 18 ++ drivers/mmc/host/mmci.h | 4 2 files changed, 22 insertions(+) diff --git a/dr