summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuvaraj Kumar C D <yuvaraj.cd@gmail.com>2013-10-22 09:11:56 (GMT)
committerInha Song <ideal.song@samsung.com>2015-01-29 10:44:47 (GMT)
commit9364aa8ab217382b54e33543a8afcc57323b5737 (patch)
treea9f48c1434543d10dd51ef86765046cd5d7da683
parentce2cb29e207a3f55f05bf2be28203ffbb3f6ab62 (diff)
downloadlinux-3.10-9364aa8ab217382b54e33543a8afcc57323b5737.zip
linux-3.10-9364aa8ab217382b54e33543a8afcc57323b5737.tar.gz
linux-3.10-9364aa8ab217382b54e33543a8afcc57323b5737.tar.bz2
mmc: dw_mmc: exynos: Revert the sdr_timing assignmentrefs/changes/94/34594/1
e6c784eded7b3 ("mmc: dw_mmc: exynos: move the exynos private init") was wrongly assigning ddr_timing value to sdr_timing. This patch fixes this by reverting the sdr_timing assignment statement to the earlier location. Change-Id: I00d74956f2ce166063446b388b92c166d8b524dc Signed-off-by: Yuvaraj Kumar C D <yuvaraj.cd@samsung.com> Acked-by: Seungwon Jeon <tgih.jun@samsung.com> Signed-off-by: Chris Ball <cjb@laptop.org>
-rw-r--r--drivers/mmc/host/dw_mmc-exynos.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mmc/host/dw_mmc-exynos.c b/drivers/mmc/host/dw_mmc-exynos.c
index 84e4d2f..bddb882 100644
--- a/drivers/mmc/host/dw_mmc-exynos.c
+++ b/drivers/mmc/host/dw_mmc-exynos.c
@@ -177,12 +177,13 @@ static int dw_mci_exynos_parse_dt(struct dw_mci *host)
if (ret)
return ret;
+ priv->sdr_timing = SDMMC_CLKSEL_TIMING(timing[0], timing[1], div);
+
ret = of_property_read_u32_array(np,
"samsung,dw-mshc-ddr-timing", timing, 2);
if (ret)
return ret;
- priv->sdr_timing = SDMMC_CLKSEL_TIMING(timing[0], timing[1], div);
priv->ddr_timing = SDMMC_CLKSEL_TIMING(timing[0], timing[1], div);
host->priv = priv;
return 0;