ARM: S3C64XX: Enable power management for WiFi on Cragganmore
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 30 Dec 2011 04:44:36 +0000 (13:44 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Fri, 20 Jan 2012 00:39:37 +0000 (09:39 +0900)
Allow the SDHCI stack to runtime power manage the WiFi card on Cragganmore
for better power optimisation.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-s3c64xx/mach-crag6410.c

index 894a5092a0dd8f7c761ff0767985f8df6d99f3ac..7539a2999178ef9869855248b33877bdc9dafcc8 100644 (file)
@@ -683,6 +683,7 @@ static void __init crag6410_map_io(void)
 static struct s3c_sdhci_platdata crag6410_hsmmc2_pdata = {
        .max_width              = 4,
        .cd_type                = S3C_SDHCI_CD_PERMANENT,
+       .host_caps              = MMC_CAP_POWER_OFF_CARD,
 };
 
 static void crag6410_cfg_sdhci0(struct platform_device *dev, int width)