mmc: sdhci-msm: Calculate timeout value based on the base clock
Qcom SDHC uses base clock in calculating the data-timeout value. So set SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK quirk. The controller internally multiplies the timeout control register value by 4 while calculating the data timeout, so set timeout_clk_div as 4 to get the correct data-timeout counter value correctly. Change-Id: I73feb37f92b4a7a0d740a262a4c68ec458e6d154 Suggested-by:Veerabhadrarao Badiganti <vbadigan@codeaurora.org> Signed-off-by:
Sarthak Garg <sartgarg@codeaurora.org>
Loading
Please register or sign in to comment
