]> git.baikalelectronics.ru Git - kernel.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>
Thu, 5 Apr 2012 23:57:49 +0000 (19:57 -0400)
commit4bbbb03dcf45a342823ad4f4ae7a3fc453c39c59
tree53ed713ce8c9435c6daa976fc77b4c366e72d277
parentf6668f74d5b8d670730db2b990d7858425f3b63c
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>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci-s3c.c