]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite3ccb37b20aee171c7789aa731cb4d3b168fabbc
tree9fe6a2658adf59ce0d0564e9e5579329de6c82a8
parente7d94c062843b5efb5056ba12ff305366abddc11
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