summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-samsung/dev-hsmmc1.c
diff options
context:
space:
mode:
authorKyungmin Park <kyungmin.park@samsung.com>2010-08-19 14:13:34 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-08-20 09:34:55 -0700
commit944645c33e4ada914f4c045525a9293610085ccd (patch)
treec8551425b131a58595fc7dd31648e15b8b018059 /arch/arm/plat-samsung/dev-hsmmc1.c
parentd5ed3a4af77b851b6271ad3d9abc4c57fa3ce0f5 (diff)
s5pc110: SDHCI-s3c can override host capabilities
Each board can override the default sdhci host capabilities. Some board has broken features by hardwares and support 8-bit bandwidth. Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Cc: <linux-mmc@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/arm/plat-samsung/dev-hsmmc1.c')
-rw-r--r--arch/arm/plat-samsung/dev-hsmmc1.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/plat-samsung/dev-hsmmc1.c b/arch/arm/plat-samsung/dev-hsmmc1.c
index 1504fd80286..a6c8295840a 100644
--- a/arch/arm/plat-samsung/dev-hsmmc1.c
+++ b/arch/arm/plat-samsung/dev-hsmmc1.c
@@ -70,4 +70,6 @@ void s3c_sdhci1_set_platdata(struct s3c_sdhci_platdata *pd)
set->cfg_gpio = pd->cfg_gpio;
if (pd->cfg_card)
set->cfg_card = pd->cfg_card;
+ if (pd->host_caps)
+ set->host_caps = pd->host_caps;
}