From patchwork Wed Dec 29 15:50:28 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Hannemann X-Patchwork-Id: 439601 X-Patchwork-Delegate: lethal@linux-sh.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oBUMBEk7000490 for ; Thu, 30 Dec 2010 22:11:36 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753330Ab0L2Pub (ORCPT ); Wed, 29 Dec 2010 10:50:31 -0500 Received: from slowhand.arndnet.de ([88.198.19.76]:46218 "EHLO mail.unitix.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752132Ab0L2Pua (ORCPT ); Wed, 29 Dec 2010 10:50:30 -0500 Received: from kallisto.arndnet.arn (p4FCB5FF5.dip.t-dialin.net [79.203.95.245]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.unitix.de (Postfix) with ESMTP id 4402F13E8D; Wed, 29 Dec 2010 16:50:30 +0100 (CET) From: Arnd Hannemann To: linux-sh@vger.kernel.org Cc: Arnd Hannemann Subject: [PATCH] sh: mach-ecovec24: enable runtime PM for SDHI Date: Wed, 29 Dec 2010 16:50:28 +0100 Message-Id: <1293637828-8817-1-git-send-email-arnd@arndnet.de> X-Mailer: git-send-email 1.7.2.3 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Thu, 30 Dec 2010 22:11:36 +0000 (UTC) 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, };