linux-mmc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dong Aisheng <dongas86@gmail.com>
To: Ulf Hansson <ulf.hansson@linaro.org>
Cc: linux-mmc@vger.kernel.org,
	Adrian Hunter <adrian.hunter@intel.com>,
	Arnd Bergmann <arnd@arndb.de>
Subject: Re: [PATCH 08/11] mmc: sdhci-esdhc-imx: Use common sdhci_suspend|resume_host()
Date: Fri, 29 Jul 2016 16:39:08 +0800	[thread overview]
Message-ID: <20160729083908.GB21177@shlinux2> (raw)
In-Reply-To: <1469619127-29283-9-git-send-email-ulf.hansson@linaro.org>

On Wed, Jul 27, 2016 at 01:32:04PM +0200, Ulf Hansson wrote:
> To prepare to make the sdhci_pltfm_suspend|resume() static functions, move
> sdhci-esdhc-imx over to use the sdhci_suspend|resume_host().
> 

Acked-by: Dong Aisheng <aisheng.dong@nxp.com>

Regards
Dong Aisheng

> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
> ---
>  drivers/mmc/host/sdhci-esdhc-imx.c | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c
> index f5768a6..99e0b33 100644
> --- a/drivers/mmc/host/sdhci-esdhc-imx.c
> +++ b/drivers/mmc/host/sdhci-esdhc-imx.c
> @@ -1296,7 +1296,9 @@ static int sdhci_esdhc_imx_remove(struct platform_device *pdev)
>  #ifdef CONFIG_PM_SLEEP
>  static int sdhci_esdhc_suspend(struct device *dev)
>  {
> -	return sdhci_pltfm_suspend(dev);
> +	struct sdhci_host *host = dev_get_drvdata(dev);
> +
> +	return sdhci_suspend_host(host);
>  }
>  
>  static int sdhci_esdhc_resume(struct device *dev)
> @@ -1306,7 +1308,7 @@ static int sdhci_esdhc_resume(struct device *dev)
>  	/* re-initialize hw state in case it's lost in low power mode */
>  	sdhci_esdhc_imx_hwinit(host);
>  
> -	return sdhci_pltfm_resume(dev);
> +	return sdhci_resume_host(host);
>  }
>  #endif
>  
> -- 
> 1.9.1
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2016-07-29  8:47 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-27 11:31 [PATCH 00/11] mmc: sdhci: Cleanup assignment/definition of PM ops Ulf Hansson
2016-07-27 11:31 ` [PATCH 01/11] mmc: sdhci-pci-core: Simplify code by using SET_SYSTEM_SLEEP_PM_OPS Ulf Hansson
2016-07-27 11:31 ` [PATCH 02/11] mmc: sdhci-acpi: " Ulf Hansson
2016-07-27 11:31 ` [PATCH 03/11] mmc: sdhci-of-esdhc: Simplify code by using SIMPLE_DEV_PM_OPS Ulf Hansson
2016-07-27 11:32 ` [PATCH 04/11] mmc: sdhci-pxav3: Remove non needed #ifdef CONFIG_PM for dev_pm_ops Ulf Hansson
2016-07-27 11:32 ` [PATCH 05/11] mmc: sdhci-s3c: " Ulf Hansson
2016-07-27 11:32 ` [PATCH 06/11] mmc: sdhci-sirf: Remove non needed #ifdef CONFIG_PM* " Ulf Hansson
2016-07-27 11:32 ` [PATCH 07/11] mmc: sdhci-esdhc-imx: Assign system PM ops within #ifdef CONFIG_PM_SLEEP Ulf Hansson
2016-07-29  8:38   ` Dong Aisheng
2016-07-27 11:32 ` [PATCH 08/11] mmc: sdhci-esdhc-imx: Use common sdhci_suspend|resume_host() Ulf Hansson
2016-07-29  8:39   ` Dong Aisheng [this message]
2016-07-27 11:32 ` [PATCH 09/11] mmc: sdhci-pltfm: Make sdhci_pltfm_suspend|resume() static Ulf Hansson
2016-07-27 11:32 ` [PATCH 10/11] mmc: sdhci-pltfm: Convert to use the SET_SYSTEM_SLEEP_PM_OPS Ulf Hansson
2016-07-27 11:32 ` [PATCH 11/11] mmc: sdhci-pltfm: Drop define for SDHCI_PLTFM_PMOPS Ulf Hansson
2016-07-27 12:50 ` [PATCH 00/11] mmc: sdhci: Cleanup assignment/definition of PM ops Ulf Hansson
2016-07-28 10:27   ` Jaehoon Chung

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160729083908.GB21177@shlinux2 \
    --to=dongas86@gmail.com \
    --cc=adrian.hunter@intel.com \
    --cc=arnd@arndb.de \
    --cc=linux-mmc@vger.kernel.org \
    --cc=ulf.hansson@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).