[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200605105542.GL71940@ediswmail.ad.cirrus.com>
Date: Fri, 5 Jun 2020 10:55:42 +0000
From: Charles Keepax <ckeepax@...nsource.cirrus.com>
To: Navid Emamdoost <navid.emamdoost@...il.com>
CC: Lee Jones <lee.jones@...aro.org>, <patches@...nsource.cirrus.com>,
<linux-kernel@...r.kernel.org>, <emamd001@....edu>,
<wu000273@....edu>, <kjlu@....edu>, <smccaman@....edu>
Subject: Re: [PATCH] mfd: arizona: handle pm_runtime_get_sync failure case
On Thu, Jun 04, 2020 at 09:47:13PM -0500, Navid Emamdoost wrote:
> Calling pm_runtime_get_sync increments the counter even in case of
> failure, causing incorrect ref count. Call pm_runtime_put_sync if
> pm_runtime_get_sync fails.
>
> Signed-off-by: Navid Emamdoost <navid.emamdoost@...il.com>
> ---
Acked-by: Charles Keepax <ckeepax@...nsource.cirrus.com>
Thanks,
Charles
Powered by blists - more mailing lists