summaryrefslogtreecommitdiffstats
path: root/scripts/headers_check.pl
diff options
context:
space:
mode:
authorQiushi Wu <wu000273@umn.edu>2020-06-14 00:30:08 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-09-27 10:51:57 +0200
commitaaffa0126a111d65f4028c503c76192d4cc93277 (patch)
tree4ec96616a41e7789824347443353ba625ab13ce3 /scripts/headers_check.pl
parent98fae901c8883640202802174a4bd70a1b9118bd (diff)
downloadlinux-aaffa0126a111d65f4028c503c76192d4cc93277.tar.bz2
media: rcar-vin: Fix a reference count leak.
pm_runtime_get_sync() increments the runtime PM usage counter even when it returns an error code. Thus call pm_runtime_put_noidle() if pm_runtime_get_sync() fails. Fixes: 90dedce9bc54 ("media: rcar-vin: add function to manipulate Gen3 chsel value") Signed-off-by: Qiushi Wu <wu000273@umn.edu> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'scripts/headers_check.pl')
0 files changed, 0 insertions, 0 deletions