[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <7b48c521-d3fd-9246-d647-3db9d5159087@gmail.com>
Date: Sun, 24 May 2020 21:15:34 +0200
From: Sylwester Nawrocki <sylwester.nawrocki@...il.com>
To: Dinghao Liu <dinghao.liu@....edu.cn>, kjlu@....edu
Cc: Mauro Carvalho Chehab <mchehab@...nel.org>,
linux-media@...r.kernel.org, linux-samsung-soc@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] media: platform: s3c-camif: Fix runtime PM imbalance on
error
Hi,
On 5/21/20 15:29, Dinghao Liu wrote:
> pm_runtime_get_sync() increments the runtime PM usage counter even
> when it returns an error code. Thus a pairing decrement is needed on
> the error handling path to keep the counter balanced.
>
> Also, call pm_runtime_disable() when pm_runtime_get_sync() returns
> an error code.
>
> Signed-off-by: Dinghao Liu<dinghao.liu@....edu.cn>
Thanks for the patch:
Reviewed-by: Sylwester Nawrocki <snawrocki@...nel.org>
Powered by blists - more mailing lists