mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
mmc: mediatek: fix incorrect register setting of hs400_cmd_int_delay
to set cmd internal delay, need set PAD_TUNE register but not PAD_CMD_TUNE
register.
Signed-off-by: Chaotian Jing <[email protected]>
Fixes: 1ede5cb88a ("mmc: mediatek: Use data tune for CMD line tune")
Cc: [email protected] # v4.12+
Signed-off-by: Ulf Hansson <[email protected]>
This commit is contained in:
parent
8c9620b1cc
commit
3751e008da
1 changed files with 1 additions and 1 deletions
|
|
@ -846,7 +846,7 @@ static void msdc_set_mclk(struct msdc_host *host, unsigned char timing, u32 hz)
|
|||
|
||||
if (timing == MMC_TIMING_MMC_HS400 &&
|
||||
host->dev_comp->hs400_tune)
|
||||
sdr_set_field(host->base + PAD_CMD_TUNE,
|
||||
sdr_set_field(host->base + tune_reg,
|
||||
MSDC_PAD_TUNE_CMDRRDLY,
|
||||
host->hs400_cmd_int_delay);
|
||||
dev_dbg(host->dev, "sclk: %d, timing: %d\n", host->mmc->actual_clock,
|
||||
|
|
|
|||
Loading…
Reference in a new issue