SUPERH platform development
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH] don't skip debugging output upon earlier loop termination
Date: Wed, 09 Nov 2011 23:58:12 +0000	[thread overview]
Message-ID: <201111100058.12902.rjw@sisk.pl> (raw)
In-Reply-To: <CANqRtoQ6YPdQ=z7B8tSnLdf1qn8HbLhQiNc=VTDU7=8CkuBLyw@mail.gmail.com>

On Wednesday, November 09, 2011, Magnus Damm wrote:
> On Wed, Nov 9, 2011 at 3:44 AM, Guennadi Liakhovetski
> <g.liakhovetski@gmx.de> wrote:
> > Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
> > ---
> > This is against the sh7372-test branch of the linux-pm tree. Feel free to
> > roll this patch into the respective original commit.
> >
> > diff --git a/arch/arm/mach-shmobile/pm-sh7372.c b/arch/arm/mach-shmobile/pm-sh7372.c
> > index 46ee116..a81d8a9 100644
> > --- a/arch/arm/mach-shmobile/pm-sh7372.c
> > +++ b/arch/arm/mach-shmobile/pm-sh7372.c
> > @@ -123,13 +123,13 @@ static int pd_power_up(struct generic_pm_domain *genpd)
> >
> >        for (retry_count = 2 * PSTR_RETRIES; retry_count; retry_count--) {
> >                if (!(__raw_readl(SWUCR) & mask))
> > -                       goto out;
> > +                       break;
> >                if (retry_count > PSTR_RETRIES)
> >                        udelay(PSTR_DELAY_US);
> >                else
> >                        cpu_relax();
> >        }
> > -       if (__raw_readl(SWUCR) & mask)
> > +       if (!retry_count)
> >                ret = -EIO;
> >
> >        if (!sh7372_pd->no_debug)
> >
> 
> Hi Guennadi,
> 
> This looks fine to me. In the future, please remember to CC the
> linux-sh list for SoC-specific patches.
> 
> Acked-by: Magnus Damm <damm@opensource.se>

Applied to linux-pm/pm-fixes.

Thanks,
Rafael

      reply	other threads:[~2011-11-09 23:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-09 10:39 [PATCH] don't skip debugging output upon earlier loop termination Magnus Damm
2011-11-09 23:58 ` 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=201111100058.12902.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