diff options
| author | Qiushi Wu <[email protected]> | 2020-06-14 05:10:58 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2020-09-27 10:55:09 +0200 |
| commit | c47f7c779ef0458a58583f00c9ed71b7f5a4d0a2 (patch) | |
| tree | c2e5587c5eb4034e21254a4b818b6e9a50aa0bc5 /tools/perf/scripts/python | |
| parent | 64157b2cb1940449e7df2670e85781c690266588 (diff) | |
media: exynos4-is: Fix a reference count leak due to pm_runtime_get_sync
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 <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions