Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5ebc4f0d authored by Sarthak Garg's avatar Sarthak Garg
Browse files

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: default avatarVeerabhadrarao Badiganti <vbadigan@codeaurora.org>
Signed-off-by: default avatarSarthak Garg <sartgarg@codeaurora.org>
parent 6ab3e82f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment