summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorFaiz Abbas <faiz_abbas@ti.com>2019-10-10 13:52:30 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2019-10-21 14:37:49 +0300
commitfeb40824d78eac5e48f56498dca941754dff33d7 (patch)
tree154b6bb82643871e8b198b1d573a32e75a763dc8 /tools/perf/scripts/python/export-to-sqlite.py
parent7d194c2100ad2a6dded545887d02754948ca5241 (diff)
downloadlinux-feb40824d78eac5e48f56498dca941754dff33d7.tar.xz
mmc: sdhci-omap: Fix Tuning procedure for temperatures < -20C
According to the App note[1] detailing the tuning algorithm, for temperatures < -20C, the initial tuning value should be min(largest value in LPW - 24, ceil(13/16 ratio of LPW)). The largest value in LPW is (max_window + 4 * (max_len - 1)) and not (max_window + 4 * max_len) itself. Fix this implementation. [1] http://www.ti.com/lit/an/spraca9b/spraca9b.pdf Fixes: 961de0a856e3 ("mmc: sdhci-omap: Workaround errata regarding SDR104/HS200 tuning failures (i929)") Cc: stable@vger.kernel.org Signed-off-by: Faiz Abbas <faiz_abbas@ti.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions