From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: hongfeng <hongfeng@marvell.com>
Cc: pavel@ucw.cz, len.brown@intel.com, gregkh@linuxfoundation.org,
linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org,
Raul Xiong <xjian@marvell.com>, Neil Zhang <zhangwm@marvell.com>
Subject: Re: [PATCH] PM / Sleep: use resume event when call dpm_resume_early
Date: Wed, 19 Sep 2012 14:32:10 +0200 [thread overview]
Message-ID: <201209191432.10406.rjw@sisk.pl> (raw)
In-Reply-To: <1348024674-13050-1-git-send-email-hongfeng@marvell.com>
On Wednesday, September 19, 2012, hongfeng wrote:
> When dpm_suspend_noirq fail, state is PMSG_SUSPEND,
> should change to PMSG_RESUME when dpm_resume_early is called
>
> Change-Id: If815218d4934b4648e330235ab1ae26e713284bd
> Signed-off-by: Feng Hong <hongfeng@marvell.com>
> Signed-off-by: Raul Xiong <xjian@marvell.com>
> Signed-off-by: Neil Zhang <zhangwm@marvell.com>
Applied to the linux-next branch of the linux-pm.git tree as v3.7 material.
Thanks,
Rafael
> ---
> drivers/base/power/main.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/base/power/main.c b/drivers/base/power/main.c
> index 0113adc..2700f2e 100644
> --- a/drivers/base/power/main.c
> +++ b/drivers/base/power/main.c
> @@ -996,7 +996,7 @@ int dpm_suspend_end(pm_message_t state)
>
> error = dpm_suspend_noirq(state);
> if (error) {
> - dpm_resume_early(state);
> + dpm_resume_early(resume_event(state));
> return error;
> }
>
>
prev parent reply other threads:[~2012-09-19 12:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-19 3:17 hongfeng
2012-09-19 12:32 ` Rafael J. Wysocki [this message]
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=201209191432.10406.rjw@sisk.pl \
--to=rjw@sisk.pl \
--cc=gregkh@linuxfoundation.org \
--cc=hongfeng@marvell.com \
--cc=len.brown@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=pavel@ucw.cz \
--cc=xjian@marvell.com \
--cc=zhangwm@marvell.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
all inboxes | Powered by JetHome®