projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afc9e2b
)
mmc: exynos_dw_mmc: set to clksel_val into board-init function
author
Jaehoon Chung
<jh80.chung@samsung.com>
Wed, 4 Feb 2015 06:48:39 +0000
(15:48 +0900)
committer
Pantelis Antoniou
<pantelis.antoniou@konsulko.com>
Mon, 23 Feb 2015 17:36:55 +0000
(19:36 +0200)
"clksel_val" is assigned to property of mmc or defined value.
But it doesn't write at initial sequence.
There is a reason that get the wrong source-clock value.
This patch fixed it.
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/exynos_dw_mmc.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/exynos_dw_mmc.c
b/drivers/mmc/exynos_dw_mmc.c
index dfa209bdeda0e39e0e95b513627f71107d14e25f..3936660892e2c02093d857ee44afa48823b3b228 100644
(file)
--- a/
drivers/mmc/exynos_dw_mmc.c
+++ b/
drivers/mmc/exynos_dw_mmc.c
@@
-64,6
+64,10
@@
static void exynos_dwmci_board_init(struct dwmci_host *host)
MPSCTRL_NON_SECURE_READ_BIT |
MPSCTRL_NON_SECURE_WRITE_BIT | MPSCTRL_VALID);
}
+
+ /* Set to clksel_val at initial time */
+ if (host->clksel_val)
+ exynos_dwmci_clksel(host);
}
static int exynos_dwmci_core_init(struct dwmci_host *host, int index)