]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: enable runtime PM by default
authorDaniel Drake <dsd@laptop.org>
Wed, 20 Jul 2011 16:39:22 +0000 (17:39 +0100)
committerChris Ball <cjb@laptop.org>
Thu, 21 Jul 2011 20:37:06 +0000 (16:37 -0400)
commit2fa4f68bdfcd677a0ee27bf065067e912cc14dab
tree45df3e286b5a5708c93a748b20f100daf38892e3
parentd1057c40682990d29d4ee93d6ffd9836043552e6
mmc: enable runtime PM by default

Now that we have improved the runtime power management powerup/powerdown
code, we believe that MMC_CAP_POWER_OFF_CARD is no longer necessary:
runtime PM should now work everywhere.

The only hard evidence for introducing MMC_CAP_POWER_OFF_CARD was the
Marvell sd8686 wifi chip, which was believed to require external gpio
manipulation which wasn't supported by some boards.

After further investigation it was realized (and confirmed by Marvell
folks) that sd8686 requirements can be fulfilled by changing the reset
sequence itself, even if no external gpio is manipulated.

For further information, see the following thread:
http://www.mail-archive.com/linux-mmc@vger.kernel.org/msg04289.html

Enable this trivially for a release or two. If no problems are reported,
we will follow up with a more extensive patch to remove this flag
altogether. If problems are reported, we can look at whitelist/blacklist
possibilities as before.

Signed-off-by: Daniel Drake <dsd@laptop.org>
Acked-by: Ohad Ben-Cohen <ohad@wizery.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/host.c