]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: sdhci-s3c: Remove usage of clk_type member in platform data
authorThomas Abraham <thomas.abraham@linaro.org>
Thu, 16 Feb 2012 13:23:58 +0000 (22:23 +0900)
committerChris Ball <cjb@laptop.org>
Sun, 1 Apr 2012 03:28:27 +0000 (23:28 -0400)
commit4626af8ed873046f0c6fcff067fe90e948e99cc5
tree53ed713ce8c9435c6daa976fc77b4c366e72d277
parentdd775ae2549217d3ae09363e3edb305d0fa19928
mmc: sdhci-s3c: Remove usage of clk_type member in platform data

SDHCI controllers on Exynos4 do not include the sdclk divider as per the
sdhci controller specification. This case can be represented using the
sdhci quirk SDHCI_QUIRK_NONSTANDARD_CLOCK instead of using an additional
enum type definition 'clk_types'.

Hence, usage of clk_type member in platform data is removed and the sdhci
quirk is used. In addition to that, since this qurik is SoC specific,
driver data is introduced to represent controllers on SoC's that require
this quirk.

Cc: Ben Dooks <ben-linux@fluff.org>
Cc: Jeongbae Seo <jeongbae.seo@samsung.com>
Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org>
Acked-by: Chris Ball <cjb@laptop.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
drivers/mmc/host/sdhci-s3c.c