* [PATCH 1/2] ARM: S3C64XX: Enable power management for disk on Cragganmore
@ 2011-12-30 2:28 Mark Brown
2011-12-30 2:28 ` [PATCH 2/2] ARM: S3C64XX: Enable power management for WiFi " Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: Mark Brown @ 2011-12-30 2:28 UTC (permalink / raw)
To: linux-arm-kernel
We can happily let the MMC stack do power management for the MMC card
that is our main disk on Cragganmore so let's enable it.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
arch/arm/mach-s3c64xx/mach-crag6410.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-s3c64xx/mach-crag6410.c b/arch/arm/mach-s3c64xx/mach-crag6410.c
index 93b578e..139d16e 100644
--- a/arch/arm/mach-s3c64xx/mach-crag6410.c
+++ b/arch/arm/mach-s3c64xx/mach-crag6410.c
@@ -21,6 +21,7 @@
#include <linux/gpio.h>
#include <linux/leds.h>
#include <linux/delay.h>
+#include <linux/mmc/host.h>
#include <linux/regulator/machine.h>
#include <linux/regulator/fixed.h>
#include <linux/pwm_backlight.h>
@@ -707,6 +708,7 @@ static struct s3c_sdhci_platdata crag6410_hsmmc0_pdata = {
.max_width = 4,
.cd_type = S3C_SDHCI_CD_INTERNAL,
.cfg_gpio = crag6410_cfg_sdhci0,
+ .host_caps = MMC_CAP_POWER_OFF_CARD,
};
static const struct gpio_led gpio_leds[] = {
--
1.7.7.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-12-30 2:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-30 2:28 [PATCH 1/2] ARM: S3C64XX: Enable power management for disk on Cragganmore Mark Brown
2011-12-30 2:28 ` [PATCH 2/2] ARM: S3C64XX: Enable power management for WiFi " Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).