+6
−4
+6
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
The MSM SDHCI controller defines the usage of 0xF in data timeout counter register (0x2E) which is actually a reserved bit as per specification. This would result in maximum of 5.3 secs timeout value. For some buggy SD cards, the core layer wants to set the data timeout to 3 secs and on our MSM SDHCI if we configure data timeout counter value to 0xE, then we would get only 2.67 secs. Observed data timeout errors for CMD25 on SDR104 card. Hence program data timeout counter to 0xF, to achieve at least 3 secs timeout value. CRs-fixed: 470661 Change-Id: Ie1e192eb9c38ca3922bb1f518073a8ff0cb57f0c Signed-off-by:Sahitya Tummala <stummala@codeaurora.org> [subhashj@codeaurora.org: fixed minor merge conflict] Signed-off-by:
Subhash Jadavani <subhashj@codeaurora.org> [xiaonian@codeaurora.org: fix trivial merge conflict] Signed-off-by:
Xiaonian Wang <xiaonian@codeaurora.org>