From mboxrd@z Thu Jan 1 00:00:00 1970 From: Viresh Kumar Subject: Re: [PATCH] mmc/sdhci-spear: Implement suspend/resume Date: Tue, 15 Nov 2011 16:16:41 +0530 Message-ID: <4EC24311.1060100@st.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from eu1sys200aog114.obsmtp.com ([207.126.144.137]:48652 "EHLO eu1sys200aog114.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754935Ab1KOKq4 (ORCPT ); Tue, 15 Nov 2011 05:46:56 -0500 In-Reply-To: Sender: linux-mmc-owner@vger.kernel.org List-Id: linux-mmc@vger.kernel.org To: "cjb@laptop.org" Cc: "linux-mmc@vger.kernel.org" , Armando VISCONTI , Shiraz HASHIM , Vipin KUMAR , Rajeev KUMAR , Deepak SIKRI , Vipul Kumar SAMAR , Amit VIRDI , Pratyush ANAND , Bhupesh SHARMA , "viresh.linux@gmail.com" , Bhavna YADAV , Vincenzo FRASCINO , Mirko GARDI On 11/15/2011 2:06 PM, Viresh KUMAR wrote: > +#ifdef CONFIG_PM > +static int sdhci_suspend(struct device *dev) > +{ > + struct sdhci_host *host = dev_get_drvdata(dev); > + pm_message_t state = {.event = 0}; > + > + return sdhci_suspend_host(host, state); Chris, Please discard this patch, i need to take care of clk too in suspend/resume. Will fix it and resend it. -- viresh