diff options
| author | Qiushi Wu <wu000273@umn.edu> | 2020-06-14 05:18:29 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-10-29 09:03:08 +0100 |
| commit | 2306e29e8813b3726a244aed91942487a3d1c0b8 (patch) | |
| tree | f5da0908b9ee7d55f8a56b275dc460d4f73f5274 /tools/perf/scripts/python | |
| parent | b7c67c12d9e66288fc59924b32979df60d8bbb5b (diff) | |
media: exynos4-is: Fix several reference count leaks due to pm_runtime_get_sync
[ Upstream commit 7ef64ceea0008c17e94a8a2c60c5d6d46f481996 ]
On calling pm_runtime_get_sync() the reference count of the device
is incremented. In case of failure, decrement the
reference count before returning the error.
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
