mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
emmc: Clear the value of txdelay in legacy mode on the resume process [1/1]
PD#SWPL-7181 Problem: switch to high-speed from hs200 failed for resume process. Solution: set tx_delay as 0 for legacy mode. clear cfg_cmd_setup Verify: verify by TL1 Change-Id: I5dbb1bbc391da864464bf137837a2b0f54ccda42 Signed-off-by: Long Yu <long.yu@amlogic.com> Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
This commit is contained in:
@@ -355,6 +355,11 @@ static void aml_sd_emmc_set_timing_v3(struct amlsd_platform *pdata,
|
||||
clkc->tx_phase = para->sdr104.tx_phase;
|
||||
} else {
|
||||
ctrl->ddr = 0;
|
||||
clkc->tx_delay = 0;
|
||||
clkc->core_phase = para->init.core_phase;
|
||||
clkc->tx_phase = para->init.tx_phase;
|
||||
irq_en &= ~(1<<17);
|
||||
writel(irq_en, host->base + SD_EMMC_IRQ_EN);
|
||||
/* timing == MMC_TIMING_LEGACY */
|
||||
if (pdata->calc_f) {
|
||||
clkc->core_phase = para->calc.core_phase;
|
||||
|
||||
Reference in New Issue
Block a user