]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
Revert "mmc: tegra: Disable async suspend for sdhci."
authorJeetesh Burman <jburman@nvidia.com>
Tue, 22 Sep 2015 11:59:24 +0000 (17:29 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Thu, 24 Sep 2015 04:15:55 +0000 (21:15 -0700)
This patch causing stack dump during LP0 resume, if SD card
used to wake-up from LP0.

Bug 200108407

This reverts commit 3b4cf3f6d1f3ae2d33dbc22c69433a50746b0ad1.

Change-Id: Ib7c9e0d82226deb4d019e05504f77931cc59d84e
Signed-off-by: Jeetesh Burman <jburman@nvidia.com>
Reviewed-on: http://git-master/r/802946
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
drivers/mmc/host/sdhci-tegra.c

index a901f3aecaab83c6b1f777a53ebfb01782a04046..60324b2acd62f9a9fee91f1eb2c30fee0c521030 100644 (file)
@@ -6000,6 +6000,9 @@ static int sdhci_tegra_probe(struct platform_device *pdev)
        sdhci_tegra_misc_debugfs(host);
        device_create_file(&pdev->dev, &dev_attr_cmd_state);
 
+       /* Enable async suspend/resume to reduce LP0 latency */
+       device_enable_async_suspend(&pdev->dev);
+
        if (plat->power_off_rail) {
                tegra_host->reboot_notify.notifier_call =
                        tegra_sdhci_reboot_notify;