mmc: sh_mmcif: add regulator support
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Fri, 20 Apr 2012 16:27:13 +0000 (18:27 +0200)
committerChris Ball <cjb@laptop.org>
Sat, 21 Jul 2012 04:02:15 +0000 (00:02 -0400)
commit7d17baa05da6a2e64ee15011cdf4319bd3e0ff61
tree9fe6a2658adf59ce0d0564e9e5579329de6c82a8
parente2ee996eaad64c149cb7cfd344789c7e0c1577dc
mmc: sh_mmcif: add regulator support

Add regulator support to the sh_mmcif driver, but also preserve the current
power-callback.

Also note, that the card power is not switched off during clock gating
periods, hence there's no need to power it on every time the card is
re-activated.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Reviwed-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Reviewed-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sh_mmcif.c