Messages in this thread | | | Date | Thu, 19 Jan 2023 20:57:43 +0000 | From | Lee Jones <> | 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@126.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 [李琼斯]
| |