mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Philipp Zabel <p.zabel@pengutronix.de>
To: Biju Das <biju.das.jz@bp.renesas.com>,
	Heiner Kallweit <hkallweit1@gmail.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH resend v3] reset: renesas: Fix Runtime PM usage
Date: Wed, 15 Dec 2021 11:21:15 +0100	[thread overview]
Message-ID: <0aaf9792fad706519da3c0177151dc2316882706.camel@pengutronix.de> (raw)
In-Reply-To: <OS0PR01MB592202E7612FF6C0F0FCE76086769@OS0PR01MB5922.jpnprd01.prod.outlook.com>

On Wed, 2021-12-15 at 10:18 +0000, Biju Das wrote:
> Hi Heiner,
> 
> Thanks for the patch.
> 
> > Subject: [PATCH resend v3] reset: renesas: Fix Runtime PM usage
> > 
> > If pm_runtime_resume_and_get() fails then it returns w/o the RPM usage
> > counter being incremented. In this case call pm_runtime_put() in
> > remove() will result in a usage counter imbalance. Therefore check the
> > return code of pm_runtime_resume_and_get() and bail out in case of error.
> > 
> > Fixes: bee08559701f ("reset: renesas: Add RZ/G2L usbphy control driver")
> > Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
> 
> Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com>

Thank you both, applied to reset/fixes.

regards
Philipp

      reply	other threads:[~2021-12-15 10:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-15 10:14 Heiner Kallweit
2021-12-15 10:18 ` Biju Das
2021-12-15 10:21   ` Philipp Zabel [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=0aaf9792fad706519da3c0177151dc2316882706.camel@pengutronix.de \
    --to=p.zabel@pengutronix.de \
    --cc=biju.das.jz@bp.renesas.com \
    --cc=hkallweit1@gmail.com \
    --cc=linux-kernel@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

all inboxes | Powered by JetHome®