[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Y8mux1YJib7gQ8ue@google.com>
Date: Thu, 19 Jan 2023 20:57:43 +0000
From: Lee Jones <lee@...nel.org>
To: Liang He <windhl@....com>
Cc: ckeepax@...nsource.cirrus.com, 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, 05 Jan 2023, 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>
> ---
> changelog:
> v1: add missing pm_runtime_put_sync()
> v2: use pm_runtime_resume_and_get()
>
> drivers/mfd/arizona-core.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks
--
Lee Jones [李琼斯]
Powered by blists - more mailing lists