Skip to contentSkip to conversation

sh: mach-ecovec24: enable runtime PM for SDHI

PATCH New Arnd Hannemann 1 participant 1 message Dec 29, 2010 SuperH

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sh: mach-ecovec24: enable runtime PM for SDHI

This patch enables runtime PM for SDHI on ecovec.
Tested with a b43 based SDIO card.

---
This patch applies on top of:

	[4/6] sh: sh7724 Enable SDIO IRQs
		https://patchwork.kernel.org/patch/437471/
 arch/sh/boards/mach-ecovec24/setup.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
arch/sh/boards/mach-ecovec24/setup.c +2 -2
index 36d7ca7..0f0bd63 100644
@@ -476,7 +476,7 @@ static struct sh_mobile_sdhi_info sdhi0_info = {
 	.dma_slave_tx	= SHDMA_SLAVE_SDHI0_TX,
 	.dma_slave_rx	= SHDMA_SLAVE_SDHI0_RX,
 	.set_pwr	= sdhi0_set_pwr,
-	.tmio_caps      = MMC_CAP_SDIO_IRQ,
+	.tmio_caps      = MMC_CAP_SDIO_IRQ | MMC_CAP_POWER_OFF_CARD,
 };
 
 static struct resource sdhi0_resources[] = {
@@ -518,7 +518,7 @@ static void sdhi1_set_pwr(struct platform_device *pdev, int state)
 static struct sh_mobile_sdhi_info sdhi1_info = {
 	.dma_slave_tx	= SHDMA_SLAVE_SDHI1_TX,
 	.dma_slave_rx	= SHDMA_SLAVE_SDHI1_RX,
-	.tmio_caps      = MMC_CAP_SDIO_IRQ,
+	.tmio_caps      = MMC_CAP_SDIO_IRQ | MMC_CAP_POWER_OFF_CARD,
 	.set_pwr	= sdhi1_set_pwr,
 };
 
Signature · 1 line
1.7.2.3