diff options
author | Qiushi Wu <wu000273@umn.edu> | 2020-06-14 00:30:08 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-09-27 10:51:57 +0200 |
commit | aaffa0126a111d65f4028c503c76192d4cc93277 (patch) | |
tree | 4ec96616a41e7789824347443353ba625ab13ce3 /COPYING | |
parent | 98fae901c8883640202802174a4bd70a1b9118bd (diff) | |
download | linux-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 'COPYING')
0 files changed, 0 insertions, 0 deletions