From: Long Yu Date: Tue, 28 May 2019 07:28:12 +0000 (+0800) Subject: emmc: After standby sleep, clear the CMD tuning flag [1/1] X-Git-Tag: hardkernel-4.9.236-104~1180 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=722d5aa5a6dc4b1cabc41fa1eee2efc6bb020fa0;p=platform%2Fkernel%2Flinux-amlogic.git emmc: After standby sleep, clear the CMD tuning flag [1/1] PD#SWPL-9075 Problem: Because the CMD tune flag was not cleared before standby, debug printing was performed during auto tune Solution: After standby sleep, clear the CMD tuning flag Verify: passed on TL1 Change-Id: Ie4a531346f50983009477131408d81c76d5c020f Signed-off-by: Long Yu --- diff --git a/drivers/amlogic/mmc/aml_sd_emmc_v3.c b/drivers/amlogic/mmc/aml_sd_emmc_v3.c index aabfd06..401728c 100644 --- a/drivers/amlogic/mmc/aml_sd_emmc_v3.c +++ b/drivers/amlogic/mmc/aml_sd_emmc_v3.c @@ -460,6 +460,7 @@ static void aml_sd_emmc_set_power_v3(struct amlsd_platform *pdata, writel(0, host->base + SD_EMMC_DELAY2_V3); writel(0, host->base + SD_EMMC_ADJUST_V3); writel(0, host->base + SD_EMMC_INTF3); + host->cmd_retune = 0; break; default: if (pdata->pwr_pre) @@ -818,7 +819,7 @@ RETRY: eyetest_log = readl(host->base + SD_EMMC_EYETEST_LOG); if (!(geyetest_log->eyetest_done & 0x1)) { - pr_warn("testing eyetest times:0x%x,out:0x%x,0x%x,line:%d\n", + pr_debug("testing eyetest times:0x%x,out:0x%x,0x%x,line:%d\n", readl(host->base + SD_EMMC_EYETEST_LOG), eyetest_out0, eyetest_out1, line_x); gintf3->eyetest_on = 0;