summaryrefslogtreecommitdiff
path: root/drivers/fpga/socfpga.c
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <kishon@ti.com>2018-04-27 17:17:17 +0530
committerUlf Hansson <ulf.hansson@linaro.org>2018-05-03 09:36:20 +0200
commitfc1fa1b7db27546803905feef403cedf40ca027a (patch)
treed649284a31fde36d72e46bd18e3f7ce7917f997c /drivers/fpga/socfpga.c
parent0bb28d738fb2066b314d0fe2eccffd1cab59517b (diff)
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 'drivers/fpga/socfpga.c')
0 files changed, 0 insertions, 0 deletions