]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit994239c0372886cf921344e9e07c938fd3d88296
tree8e32a5d0c4a9451489f6ccfc93b1fd70a913e175
parentacedf9591116e0be196e71c65c4ed8311818d30f
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