From patchwork Wed Nov 10 15:28:06 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peppe CAVALLARO X-Patchwork-Id: 314482 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 oAAFSlae029535 for ; Wed, 10 Nov 2010 15:28:48 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756722Ab0KJP2e (ORCPT ); Wed, 10 Nov 2010 10:28:34 -0500 Received: from eu1sys200aog102.obsmtp.com ([207.126.144.113]:50751 "EHLO eu1sys200aog102.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756719Ab0KJP2d (ORCPT ); Wed, 10 Nov 2010 10:28:33 -0500 Received: from source ([164.129.1.35]) (using TLSv1) by eu1sys200aob102.postini.com ([207.126.147.11]) with SMTP ID DSNKTNq6H4Pr4vzMddlG/Cjh2ROpGZOzzAM9@postini.com; Wed, 10 Nov 2010 15:28:32 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 F416B9B for ; Wed, 10 Nov 2010 15:28:30 +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 BF70E5419 for ; Wed, 10 Nov 2010 15:28:30 +0000 (GMT) Received: from localhost ([164.130.129.16]) by mail1.ctn.st.com (MOS 3.8.7a) with ESMTP id DLS00280 (AUTH cavagiu); Wed, 10 Nov 2010 16:28:30 +0100 (CET) From: Giuseppe CAVALLARO To: linux-mmc@vger.kernel.org Cc: Giuseppe Cavallaro Subject: [PATCH 2/5] mmc: do not clear the host->pm_flags when suspend Date: Wed, 10 Nov 2010 16:28:06 +0100 Message-Id: <1289402889-14160-4-git-send-email-peppe.cavallaro@st.com> X-Mailer: git-send-email 1.5.5.6 In-Reply-To: <1289402889-14160-3-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> 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:48 +0000 (UTC) diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index 569e94d..6d2d6e4 100644 --- a/drivers/mmc/core/core.c +++ b/drivers/mmc/core/core.c @@ -1276,7 +1276,6 @@ int mmc_suspend_host(struct mmc_host *host) mmc_claim_host(host); mmc_detach_bus(host); mmc_release_host(host); - host->pm_flags = 0; err = 0; } }