Messages in this thread | | | From | Sylwester Nawrocki <> | Subject | Re: [PATCH] media: platform: s3c-camif: Fix runtime PM imbalance on error | Date | Sun, 24 May 2020 21:15:34 +0200 |
| |
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@zju.edu.cn>
Thanks for the patch:
Reviewed-by: Sylwester Nawrocki <snawrocki@kernel.org>
| |