linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] sh: mach-ecovec24: enable runtime PM for SDHI
@ 2010-12-29 15:50 Arnd Hannemann
  0 siblings, 0 replies; 2+ messages in thread
From: Arnd Hannemann @ 2010-12-29 15:50 UTC (permalink / raw)
  To: linux-sh

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

Signed-off-by: Arnd Hannemann <arnd@arndnet.de>
---
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(-)

diff --git a/arch/sh/boards/mach-ecovec24/setup.c b/arch/sh/boards/mach-ecovec24/setup.c
index 36d7ca7..0f0bd63 100644
--- a/arch/sh/boards/mach-ecovec24/setup.c
+++ b/arch/sh/boards/mach-ecovec24/setup.c
@@ -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,
 };
 
-- 
1.7.2.3


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] sh: mach-ecovec24: enable runtime PM for SDHI
@ 2011-01-06  4:13 Paul Mundt
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Mundt @ 2011-01-06  4:13 UTC (permalink / raw)
  To: linux-sh

On Wed, Dec 29, 2010 at 04:50:28PM +0100, Arnd Hannemann wrote:
> This patch enables runtime PM for SDHI on ecovec.
> Tested with a b43 based SDIO card.
> 
> Signed-off-by: Arnd Hannemann <arnd@arndnet.de>

Applied to sh/sdio, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-01-06  4:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-29 15:50 [PATCH] sh: mach-ecovec24: enable runtime PM for SDHI Arnd Hannemann
  -- strict thread matches above, loose matches on Subject: below --
2011-01-06  4:13 Paul Mundt

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).