]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mmc: sdhci-esdhc: move common esdhc_set_clock to platform driver
authorDong Aisheng <b29396@freescale.com>
Fri, 13 Sep 2013 11:11:32 +0000 (19:11 +0800)
committerChris Ball <cjb@laptop.org>
Thu, 26 Sep 2013 11:57:12 +0000 (07:57 -0400)
commitd31fc00a71b4f3a52d23c5a995ccd63e50a2c877
tree01abef4ac1da7dffe7230d458badafabce7b834a
parentc0e55129b09f3b9fee271e5fe23332393ab4c2a9
mmc: sdhci-esdhc: move common esdhc_set_clock to platform driver

We need a lot of imx6 specific things into common esdhc_set_clock
for support SD3.0 and eMMC DDR mode which is not needed for power pc
platforms, so esdhc_set_clock seems not so common anymore.

Instead of keeping add platform specfics things into this common API,
we choose to move that code into platform driver itself to handle.
This can also exclude the dependency between imx and power pc on this
headfile and is easy for maintain in the future.

Signed-off-by: Dong Aisheng <b29396@freescale.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci-esdhc-imx.c
drivers/mmc/host/sdhci-esdhc.h
drivers/mmc/host/sdhci-of-esdhc.c