[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230105094350.GJ36097@ediswmail.ad.cirrus.com>
Date: Thu, 5 Jan 2023 09:43:50 +0000
From: Charles Keepax <ckeepax@...nsource.cirrus.com>
To: Liang He <windhl@....com>
CC: <lee@...nel.org>, <patches@...nsource.cirrus.com>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] mfd: arizona: Use pm_runtime_resume_and_get() to
prevent refcnt leak
On Thu, Jan 05, 2023 at 02:10:55PM +0800, Liang He wrote:
> In arizona_clk32k_enable(), we should use pm_runtime_resume_and_get()
> as pm_runtime_get_sync() will increase the refcnt even when it
> returns an error.
>
> Signed-off-by: Liang He <windhl@....com>
> ---
Acked-by: Charles Keepax <ckeepax@...nsource.cirrus.com>
Thanks,
Charles
Powered by blists - more mailing lists