diff options
| author | Sarthak Garg <sarthak.garg@oss.qualcomm.com> | 2025-11-14 13:58:24 +0530 |
|---|---|---|
| committer | Ulf Hansson <ulf.hansson@linaro.org> | 2025-11-25 13:39:46 +0100 |
| commit | b1f856b1727c2eaa4be2c6d7cd7a8ed052bbeb87 (patch) | |
| tree | 5cf2f741005d2446c988fa33fd921d4dac0334c5 /tools/lib/python/kdoc/kdoc_re.py | |
| parent | 8a4a16f86edc10e162f0e305bdfa8f1f9c522551 (diff) | |
mmc: sdhci-msm: Avoid early clock doubling during HS400 transition
According to the hardware programming guide, the clock frequency must
remain below 52MHz during the transition to HS400 mode.
However,in the current implementation, the timing is set to HS400 (a
DDR mode) before adjusting the clock. This causes the clock to double
prematurely to 104MHz during the transition phase, violating the
specification and potentially resulting in CRC errors or CMD timeouts.
This change ensures that clock doubling is avoided during intermediate
transitions and is applied only when the card requires a 200MHz clock
for HS400 operation.
Signed-off-by: Sarthak Garg <sarthak.garg@oss.qualcomm.com>
Reviewed-by: Bjorn Andersson <andersson@kernel.org>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: stable@vger.kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/lib/python/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions
