sdhci: tegra: Add context restore support for SDIO
authorPavan Kunapuli <pkunapuli@nvidia.com>
Thu, 13 Oct 2011 14:17:14 +0000 (19:17 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:49:27 +0000 (21:49 -0800)
commit2c5bc258a3f3bc3204dfe8690833e04c9dbce550
tree8bf481283eee5d3e05bc1af8fd48c4e6837af2ca
parent2944db5f3707d9176da44c3bf762e4ce7b0a636f
sdhci: tegra: Add context restore support for SDIO

Set MMC_CAP_SDIO_IRQ to use interrupts rather than
polling for SDIO function handling.
Set MMC_PM_KEEP_POWER for embedded SDIO devices.
Add controller reset and power on for devices with
MMC_PM_KEEP_POWER flag set.

Bug 883715

Change-Id: I35c98ba879b564752662f60365ee8a5e72d3a587
Reviewed-on: http://git-master/r/57869
Tested-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Rc95d4035ea4569cf1742d5785efff7df7ffa2ade
drivers/mmc/host/sdhci-tegra.c