lkml.org 
[lkml]   [2021]   [Dec]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH resend v3] reset: renesas: Fix Runtime PM usage
From
Date
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

\
 
 \ /
  Last update: 2021-12-15 11:23    [W:0.052 / U:0.844 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site