Revert "emmc: Clear the value of txdelay in legacy mode on the resume process [1/1]"
authorLuan Yuan <luan.yuan@amlogic.com>
Sun, 5 May 2019 05:29:51 +0000 (13:29 +0800)
committerNick Xie <nick@khadas.com>
Mon, 5 Aug 2019 06:13:22 +0000 (14:13 +0800)
This reverts commit 2582a9689236c3db53da3b84d21ddb712eae7679.

drivers/amlogic/mmc/aml_sd_emmc_v3.c

index e1183f2..297e784 100644 (file)
@@ -395,11 +395,6 @@ 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;