From patchwork Wed Nov 10 15:28:09 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peppe CAVALLARO X-Patchwork-Id: 314512 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 oAAFSxTj029600 for ; Wed, 10 Nov 2010 15:28:59 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756642Ab0KJP2t (ORCPT ); Wed, 10 Nov 2010 10:28:49 -0500 Received: from eu1sys200aog108.obsmtp.com ([207.126.144.125]:39641 "EHLO eu1sys200aog108.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756604Ab0KJP2s (ORCPT ); Wed, 10 Nov 2010 10:28:48 -0500 Received: from source ([164.129.1.35]) (using TLSv1) by eu1sys200aob108.postini.com ([207.126.147.11]) with SMTP ID DSNKTNq6LxXSrgPMNhurMz4p4AkM7fCrcNvj@postini.com; Wed, 10 Nov 2010 15:28:48 UTC Received: from zeta.dmz-eu.st.com (ns2.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id C436199 for ; Wed, 10 Nov 2010 15:28:46 +0000 (GMT) Received: from mail1.ctn.st.com (mail1.ctn.st.com [164.130.116.128]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 978565419 for ; Wed, 10 Nov 2010 15:28:46 +0000 (GMT) Received: from localhost ([164.130.129.16]) by mail1.ctn.st.com (MOS 3.8.7a) with ESMTP id DLS00283 (AUTH cavagiu); Wed, 10 Nov 2010 16:28:46 +0100 (CET) From: Giuseppe CAVALLARO To: linux-mmc@vger.kernel.org Cc: Giuseppe Cavallaro Subject: [PATCH 5/5] mmc: sdhci-pltfm can wake up. Date: Wed, 10 Nov 2010 16:28:09 +0100 Message-Id: <1289402889-14160-7-git-send-email-peppe.cavallaro@st.com> X-Mailer: git-send-email 1.5.5.6 In-Reply-To: <1289402889-14160-6-git-send-email-peppe.cavallaro@st.com> References: <1289402889-14160-1-git-send-email-peppe.cavallaro@st.com> <1289402889-14160-2-git-send-email-peppe.cavallaro@st.com> <1289402889-14160-3-git-send-email-peppe.cavallaro@st.com> <1289402889-14160-4-git-send-email-peppe.cavallaro@st.com> <1289402889-14160-5-git-send-email-peppe.cavallaro@st.com> <1289402889-14160-6-git-send-email-peppe.cavallaro@st.com> Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@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]); Wed, 10 Nov 2010 15:28:59 +0000 (UTC) diff --git a/drivers/mmc/host/sdhci-pltfm.c b/drivers/mmc/host/sdhci-pltfm.c index 4e881a5..6ea32e1 100644 --- a/drivers/mmc/host/sdhci-pltfm.c +++ b/drivers/mmc/host/sdhci-pltfm.c @@ -100,6 +100,8 @@ static int __devinit sdhci_pltfm_probe(struct platform_device *pdev) goto err_plat_init; } + host->mmc->pm_flags = MMC_PM_KEEP_POWER; + ret = sdhci_add_host(host); if (ret) goto err_add_host;