From: Chris Ball <cjb@laptop.org>
To: Kevin Liu <kliu5@marvell.com>
Cc: linux-mmc@vger.kernel.org, Philip Rakity <prakity@nvidia.com>,
Aaron Lu <aaron.lu@intel.com>, Shawn Guo <shawn.guo@linaro.org>,
Ulf Hansson <ulf.hansson@linaro.org>,
Johan Rudholm <johan.rudholm@stericsson.com>,
Daniel Drake <dsd@laptop.org>,
Guennadi Liakhovetski <g.liakhovetski@gmx.de>,
Adrian Hunter <adrian.hunter@intel.com>,
Jerry Huang <Chang-Ming.Huang@freescale.com>,
Alexander Stein <alexander.stein@systec-electronic.com>,
Girish K S <girish.shivananjappa@linaro.org>,
Haijun Zhang <Haijun.Zhang@freescale.com>,
Viresh Kumar <viresh.kumar@linaro.org>,
Heiko Stuebner <heiko@sntech.de>,
Thomas Abraham <thomas.abraham@linaro.org>,
Chander Kashyap <chander.kashyap@linaro.com>,
Jaehoon Chung <jh80.chung@samsung.com>,
Sebastian Hesselbarth <sebastian.hesselbarth@googlemail.com>,
Zhangfei Gao <zhangfei.gao@gmail.com>,
Haojian Zhuang <haojian.zhuang@gmail.com>,
Chao
Subject: Re: [PATCH v2 2/2] mmc: sdhci-pxav3: add wake up support
Date: Mon, 14 Jan 2013 14:43:50 -0500 [thread overview]
Message-ID: <87k3rfsg7d.fsf@laptop.org> (raw)
In-Reply-To: <1357377694-2167-2-git-send-email-kliu5@marvell.com> (Kevin Liu's message of "Sat, 5 Jan 2013 17:21:34 +0800")
Hi,
On Sat, Jan 05 2013, Kevin Liu wrote:
> Signed-off-by: Jialing Fu <jlfu@marvell.com>
> Signed-off-by: Kevin Liu <kliu5@marvell.com>
> ---
> drivers/mmc/host/sdhci-pxav3.c | 7 +++++++
> 1 files changed, 7 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/mmc/host/sdhci-pxav3.c b/drivers/mmc/host/sdhci-pxav3.c
> index b4aca81..ff06aff 100644
> --- a/drivers/mmc/host/sdhci-pxav3.c
> +++ b/drivers/mmc/host/sdhci-pxav3.c
> @@ -325,6 +325,13 @@ static int sdhci_pxav3_probe(struct platform_device *pdev)
>
> platform_set_drvdata(pdev, host);
>
> + if (pdata->pm_caps & MMC_PM_KEEP_POWER) {
> + device_init_wakeup(&pdev->dev, 1);
> + host->mmc->pm_flags |= MMC_PM_WAKE_SDIO_IRQ;
> + } else {
> + device_init_wakeup(&pdev->dev, 0);
> + }
> +
> pm_runtime_put_autosuspend(&pdev->dev);
>
> return 0;
Thanks, pushed to mmc-next for 3.9.
- Chris.
--
Chris Ball <cjb@laptop.org> <http://printf.net/>
One Laptop Per Child
next prev parent reply other threads:[~2013-01-14 19:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-05 9:21 [PATCH v2 1/2] mmc: sdhci: add wake up support Kevin Liu
2013-01-05 9:21 ` [PATCH v2 2/2] mmc: sdhci-pxav3: " Kevin Liu
2013-01-14 19:43 ` Chris Ball [this message]
2013-01-14 19:43 ` [PATCH v2 1/2] mmc: sdhci: " Chris Ball
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=87k3rfsg7d.fsf@laptop.org \
--to=cjb@laptop.org \
--cc=Chang-Ming.Huang@freescale.com \
--cc=Haijun.Zhang@freescale.com \
--cc=aaron.lu@intel.com \
--cc=adrian.hunter@intel.com \
--cc=alexander.stein@systec-electronic.com \
--cc=chander.kashyap@linaro.com \
--cc=dsd@laptop.org \
--cc=g.liakhovetski@gmx.de \
--cc=girish.shivananjappa@linaro.org \
--cc=haojian.zhuang@gmail.com \
--cc=heiko@sntech.de \
--cc=jh80.chung@samsung.com \
--cc=johan.rudholm@stericsson.com \
--cc=kliu5@marvell.com \
--cc=linux-mmc@vger.kernel.org \
--cc=prakity@nvidia.com \
--cc=sebastian.hesselbarth@googlemail.com \
--cc=shawn.guo@linaro.org \
--cc=thomas.abraham@linaro.org \
--cc=ulf.hansson@linaro.org \
--cc=viresh.kumar@linaro.org \
--cc=zhangfei.gao@gmail.com \
/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).