sdhci: tegra: enable sd dpd
authorBitan Biswas <bbiswas@nvidia.com>
Mon, 25 Jun 2012 14:34:54 +0000 (19:34 +0530)
committerVarun Wadekar <vwadekar@nvidia.com>
Tue, 17 Jul 2012 08:14:32 +0000 (13:14 +0530)
commit8033f14d6285f0d347046b7e2fd0e52b90abee96
tree34104ba8306b8acb682fc36382c3814beb78bfbb
parent3ddb3d948129c31fbd0f79448419296c9834393d
sdhci: tegra: enable sd dpd

This is a WAR solution that allows for the turning on
SD DPD feature.

The original issue is that enabling SD DPD immediately after device comes
out of LP0 causes ULPI disconnect. The root cause of that is
not known.

The WAR is to delay the enabling of SD DPD for 100ms after
device comes out of LP0.

Bug 929628

Change-Id: I946771a8e92459464ce571295f96f197db25c061
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
(cherry picked from commit beba2b34af7ff9313aed074342b9bb86b12620a8)
Reviewed-on: http://git-master/r/113391
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Wen Yi <wyi@nvidia.com>
Tested-by: Wen Yi <wyi@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
drivers/mmc/host/sdhci-tegra.c