[PATCH 0/4] mmc_spi: Add support for regulator framework

From: Antonio Ospite
Date: Mon Mar 21 2011 - 14:47:47 EST


Hi,

this patchset has the purpose of adding support for the regulator framework to
the mmc_spi driver. The first three patches are preparatory cleanups to make
the forth one more straightforward.

Maybe the fourth patch can be improved, I am open to any suggestions about it.

These changes take strong inspiration from the pxamci driver; they have been
tested on a Motorola A910, which uses a regulator to powerup the MMC card
connected to the SPI bus, a test from a current user of the mmc_spi driver
would not hurt just to be sure no regressions have been introduced.

Thanks,
Antonio

Antonio Ospite (4):
mmc_spi.c: factor out the check for power capability
mmc_spi.c: factor out the SD card shutdown sequence
mmc_spi.c: factor out a mmc_spi_setpower() function
mmc_spi.c: add support for the regulator framework

drivers/mmc/host/mmc_spi.c | 194 +++++++++++++++++++++++++++++---------------
1 files changed, 129 insertions(+), 65 deletions(-)

--
Antonio Ospite
http://ao2.it

PGP public key ID: 0x4553B001

A: Because it messes up the order in which people normally read text.
See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/