diff options
author | Kishon Vijay Abraham I <kishon@ti.com> | 2018-04-27 14:47:17 +0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2018-05-03 10:36:20 +0300 |
commit | fc1fa1b7db27546803905feef403cedf40ca027a (patch) | |
tree | d649284a31fde36d72e46bd18e3f7ce7917f997c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 0bb28d738fb2066b314d0fe2eccffd1cab59517b (diff) | |
download | linux-fc1fa1b7db27546803905feef403cedf40ca027a.tar.xz |
mmc: sdhci: Program a relatively accurate SW timeout value
sdhci has a 10 second timeout to catch devices that stop responding.
In the case of quirk SDHCI_QUIRK2_DISABLE_HW_TIMEOUT, instead of
programming 10 second arbitrary value, calculate the total time it would
take for the entire transfer to happen and program the timeout value
accordingly.
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions