[lkml]   [2020]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] media: platform: s3c-camif: Fix runtime PM imbalance on error

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<>

Thanks for the patch:

Reviewed-by: Sylwester Nawrocki <>

 \ /
  Last update: 2020-05-24 21:16    [W:0.047 / U:1.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site