[PATCH] MMC: pxamci: call pdata->setpower even when regulator is used

Eric Miao eric.y.miao at gmail.com
Tue Dec 1 23:34:53 EST 2009


On Thu, Nov 26, 2009 at 7:10 PM, Daniel Mack <daniel at caiaq.de> wrote:
> On platforms where the vmmc regulator is used, it might still be
> necessary to call the platform data's setpower() callback in order to
> drive GPIOs to power up hardware.
>
> I can't see any pxamci user with power regulators enabled, hence this
> shouldn't break anything.
>

I was thinking about this for quite a time, and I'm afraid that this patch
solves only one corner case - that some specific actions need to be
taken _after_ mmc regulator is adjusted, while excluding the possibility
for that to happen _before_. I wonder maybe for those corner cases,
if one can just manipulate the vmmc regulator and other specific stuffs
within ->setpower().



More information about the linux-arm-kernel mailing list