mmc: omap_hsmmc: switch default/idle pinctrl states in runtime hooks
authorAndreas Fenkart <afenkart@gmail.com>
Thu, 29 May 2014 08:28:04 +0000 (10:28 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 9 Jul 2014 09:26:05 +0000 (11:26 +0200)
commit97978a4439fb49d05fbc1dfd075e3c5fb22ea956
tree8e32a5d0c4a9451489f6ccfc93b1fd70a913e175
parentf945901f9aaff859c6b3244628c766d1939e46e7
mmc: omap_hsmmc: switch default/idle pinctrl states in runtime hooks

These are predefined states of the driver model. When not present,
as if not set in the device tree, they become no-ops.
Explicitly selecting the default state is not needed since the
device core layer sets pin mux to "default" state before probe.
This is not the simplest implementation, on AM335x at least, we could
switch to idle at any point in the suspend hook, only the default state
needs to be set before writing to the irq registers or an IRQ might get
lost.

Acked-by: Balaji T K <balajitk@ti.com>
Signed-off-by: Andreas Fenkart <afenkart@gmail.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/omap_hsmmc.c