From patchwork Wed Nov 10 15:28:08 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peppe CAVALLARO X-Patchwork-Id: 314502 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 oAAFSlag029535 for ; Wed, 10 Nov 2010 15:28:49 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756677Ab0KJP2o (ORCPT ); Wed, 10 Nov 2010 10:28:44 -0500 Received: from eu1sys200aog103.obsmtp.com ([207.126.144.115]:49494 "EHLO eu1sys200aog103.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756604Ab0KJP2o (ORCPT ); Wed, 10 Nov 2010 10:28:44 -0500 Received: from source ([164.129.1.35]) (using TLSv1) by eu1sys200aob103.postini.com ([207.126.147.11]) with SMTP ID DSNKTNq6KgIBbhD240cIMbXfknKr7nbaB2jN@postini.com; Wed, 10 Nov 2010 15:28:43 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 A5ED999 for ; Wed, 10 Nov 2010 15:28:41 +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 6F0E05419 for ; Wed, 10 Nov 2010 15:28:41 +0000 (GMT) Received: from localhost ([164.130.129.16]) by mail1.ctn.st.com (MOS 3.8.7a) with ESMTP id DLS00282 (AUTH cavagiu); Wed, 10 Nov 2010 16:28:40 +0100 (CET) From: Giuseppe CAVALLARO To: linux-mmc@vger.kernel.org Cc: Giuseppe Cavallaro Subject: [PATCH 4/5] mmc: sdhci-pci invokes the sdhci_enable_irq_wakeups with SDHCI_WAKE_ON_INT Date: Wed, 10 Nov 2010 16:28:08 +0100 Message-Id: <1289402889-14160-6-git-send-email-peppe.cavallaro@st.com> X-Mailer: git-send-email 1.5.5.6 In-Reply-To: <1289402889-14160-5-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> 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:49 +0000 (UTC) diff --git a/drivers/mmc/host/sdhci-pci.c b/drivers/mmc/host/sdhci-pci.c index 59f3de5..8634fb1 100644 --- a/drivers/mmc/host/sdhci-pci.c +++ b/drivers/mmc/host/sdhci-pci.c @@ -524,7 +524,7 @@ static int sdhci_pci_suspend (struct pci_dev *pdev, pm_message_t state) slot_pm_flags = slot->host->mmc->pm_flags; if (slot_pm_flags & MMC_PM_WAKE_SDIO_IRQ) - sdhci_enable_irq_wakeups(slot->host); + sdhci_enable_irq_wakeups(slot->host, SDHCI_WAKE_ON_INT); pm_flags |= slot_pm_flags; }