mmc: tegra: Modify UI calculations in tuning
authorPavan Kunapuli <pkunapuli@nvidia.com>
Tue, 18 Feb 2014 16:04:46 +0000 (21:04 +0530)
committerWinnie Hsu <whsu@nvidia.com>
Fri, 16 May 2014 22:58:31 +0000 (15:58 -0700)
commit7fc7cb8951edcf99b7c7e72e62b1b860b88b5e07
tree1dca9c31926249af66bf0be5f765af8a507c9709
parent6bb9c6fef8c104c22cf95dd4028728ccded7db56
mmc: tegra: Modify UI calculations in tuning

Discrediting all the UI's from either end that are less than 30%
of the estimated UI.
Not using a discredited UI for any comparisons. If one of the UIs
in a comparison is already discredited, discrediting the other UI
as well.
Checking for multiple holes in the same window.
For margin calculations for window ends identified as tap holes, use
n'th Vmin hole for n'th Vmax hole position.

Bug 1423429

Change-Id: Ic71a8a18b0c41a7c88715b18e1caa04e0d992bef
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/378626
(cherry picked from commit ad6fc488978e21f5d1f41136a9f7a9c0a9c376e5)
Reviewed-on: http://git-master/r/410197
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