]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
mmc: sdhci: resume mmc_rescan at 700ms in LP0 exit
authorJeetesh Burman <jburman@nvidia.com>
Thu, 27 Aug 2015 05:56:23 +0000 (11:26 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Tue, 15 Sep 2015 19:20:06 +0000 (12:20 -0700)
commit50a06d9bf7bd0df115f12750f475c67747c9b113
tree26d4b598ad2baad902ea3983d181df587c630958
parentd36eb24078163351a9378a6030bf5b3fbab39b92
mmc: sdhci: resume mmc_rescan at 700ms in LP0 exit

While resuming from LP0, all interrupts for sd card are not
enabled in early resume and during that if system sends any
command (e.g enumeration CMDs by plugin SD card), system
doesn't get any response for transmitted command, this causes,
driver throw sd dump registers.

350ms is not sufficient for Jetson-CV.

To fix this issue, resuming from LP0/1, "mmc_rescan" delayed
by 700ms, so that interrupts for SD card get enabled during this
period.

Bug 200108407

Change-Id: I64122764f5dd59aadb2d6e7b8963c8b6a87317c8
Signed-off-by: Jeetesh Burman <jburman@nvidia.com>
Reviewed-on: http://git-master/r/790156
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: R Raj Kumar <rrajk@nvidia.com>
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
drivers/mmc/host/sdhci.c