summaryrefslogtreecommitdiff
path: root/drivers/mmc/host/sdhci-tegra.c
diff options
context:
space:
mode:
authorPavan Kunapuli <pkunapuli@nvidia.com>2011-02-23 20:50:19 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2011-04-26 15:52:12 -0700
commit49c463f3ee85dfdd0620a188595dbb981d1fde75 (patch)
treeffeaef68aa123647842cd0be43613b2ba85c3a46 /drivers/mmc/host/sdhci-tegra.c
parent34cce0da2c7214923062cf6378512b801156d44d (diff)
sdhci:tegra:Enable sd card hot plug in detection
Set SDHCI_QUIRK_BROKEN_CARD_DETECTION to support sd card hot plug in/plug out detection. Original-Change-Id: Ia0a748dc38b61a73460bee19b4a4544630aa163b Reviewed-on: http://git-master/r/20586 Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com> Tested-by: Pavan Kunapuli <pkunapuli@nvidia.com> Reviewed-by: Narendra Damahe <ndamahe@nvidia.com> Tested-by: Narendra Damahe <ndamahe@nvidia.com> Reviewed-by: Venkata Nageswara Penumarty <vpenumarty@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Change-Id: I366ad96995f2c5939e42c98a7f626811b279ad4e
Diffstat (limited to 'drivers/mmc/host/sdhci-tegra.c')
-rw-r--r--drivers/mmc/host/sdhci-tegra.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mmc/host/sdhci-tegra.c b/drivers/mmc/host/sdhci-tegra.c
index 4071c7e9d74f..89504e9c2c29 100644
--- a/drivers/mmc/host/sdhci-tegra.c
+++ b/drivers/mmc/host/sdhci-tegra.c
@@ -352,8 +352,7 @@ static int __devinit tegra_sdhci_probe(struct platform_device *pdev)
SDHCI_QUIRK_BROKEN_ADMA_ZEROLEN_DESC |
SDHCI_QUIRK_RUNTIME_DISABLE;
#ifdef CONFIG_ARCH_TEGRA_3x_SOC
- /* This change acquire wake_lock forever preventing system not to enter suspend */
- /* sdhci->quirks |= SDHCI_QUIRK_BROKEN_CARD_DETECTION; */
+ sdhci->quirks |= SDHCI_QUIRK_BROKEN_CARD_DETECTION;
#endif
if (plat->force_hs != 0)