SUPERH platform development
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH] ARM: mach-shmobile: fix A3SP suspend method
Date: Thu, 12 Jan 2012 23:48:09 +0000	[thread overview]
Message-ID: <201201130048.09751.rjw@sisk.pl> (raw)

On Thursday, January 12, 2012, Guennadi Liakhovetski wrote:
> Fix the reverted condition in sh7372_a3sp_suspend().
> 
> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
> ---
> diff --git a/arch/arm/mach-shmobile/pm-sh7372.c b/arch/arm/mach-shmobile/pm-sh7372.c
> index 77b8fc1..43baa97 100644
> --- a/arch/arm/mach-shmobile/pm-sh7372.c
> +++ b/arch/arm/mach-shmobile/pm-sh7372.c
> @@ -276,7 +276,7 @@ static int sh7372_a3sp_suspend(void)
>  	 * Serial consoles make use of SCIF hardware located in A3SP,
>  	 * keep such power domain on if "no_console_suspend" is set.
>  	 */
> -	return console_suspend_enabled ? -EBUSY : 0;
> +	return console_suspend_enabled ? 0 : -EBUSY;
>  }
>  
>  struct sh7372_pm_domain sh7372_a3sp = {

Magnus, the patch is correct, but I need your ACK here.

Thanks,
Rafael

             reply	other threads:[~2012-01-12 23:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-12 23:48 Rafael J. Wysocki [this message]
2012-01-13  9:45 ` [PATCH] ARM: mach-shmobile: fix A3SP suspend method Magnus Damm

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=201201130048.09751.rjw@sisk.pl \
    --to=rjw@sisk.pl \
    --cc=linux-sh@vger.kernel.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