mmc: tegra: Modify partial window negative margins
authorPavan Kunapuli <pkunapuli@nvidia.com>
Thu, 30 Jan 2014 12:01:50 +0000 (17:01 +0530)
committerWinnie Hsu <whsu@nvidia.com>
Fri, 16 May 2014 22:57:30 +0000 (15:57 -0700)
commit50206bc67b201920df76cc837f028b7acdbc327e
tree6513ab660bec47a242cac0eb2a8d5d862b31ab15
parent4a9ac456362664ee991a7f89839a04e5abf285e1
mmc: tegra: Modify partial window negative margins

Modifying the negative margin additions to partial window start
as per the new corner case identified by characterization team.
In case where the avg ui is found, negative margins are found
using first full window start and avg ui. If the avg ui is not
found, est ui is taken as avg ui and negative margins are obtained
using avg ui and all boundary starts.

Bug 1423423
Bug 1423429

Reviewed-on: http://git-master/r/#/c/361974/
(cherry picked from commit de54e591bfcd9f9f2e0989b4284d04cb30a729c0)

Change-Id: I762cbe7e36f72f9744ca8cd8dee3114758aa7597
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Signed-off-by: R Raj Kumar <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/363815
(cherry picked from commit 1fb7531f70eb7cdd4bf6e766e8bc78890b0dafaa)
Reviewed-on: http://git-master/r/410192
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Shreshtha Sahu <ssahu@nvidia.com>
Tested-by: Shreshtha Sahu <ssahu@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
drivers/mmc/host/sdhci-tegra.c