[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2184866.DZomrXFPLt@kista>
Date: Sun, 11 Apr 2021 20:18:41 +0200
From: Jernej Škrabec <jernej.skrabec@...l.net>
To: lujialin4@...wei.com, Mauro Carvalho Chehab <mchehab@...nel.org>,
Maxime Ripard <mripard@...nel.org>,
Chen-Yu Tsai <wens@...e.org>,
Philipp Zabel <p.zabel@...gutronix.de>,
Lu Jialin <lujialin4@...wei.com>
Cc: linux-media@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-sunxi@...ts.linux.dev, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] media: sun8i: Fix PM reference leak in deinterlace_start_streaming()
Dne četrtek, 08. april 2021 ob 15:36:30 CEST je Lu Jialin napisal(a):
>
> pm_runtime_get_sync will increment pm usage counter even it failed.
> Forgetting to putting operation will result in reference leak here.
> Fix it by replacing it with pm_runtime_resume_and_get to keep usage
> counter balanced.
>
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Signed-off-by: Lu Jialin <lujialin4@...wei.com>
Acked-by: Jernej Skrabec <jernej.skrabec@...l.net>
Best regards,
Jernej
Powered by blists - more mailing lists