commit | c47f7c779ef0458a58583f00c9ed71b7f5a4d0a2 | [log] [tgz] |
---|---|---|
author | Qiushi Wu <wu000273@umn.edu> | Sun Jun 14 05:10:58 2020 +0200 |
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | Sun Sep 27 10:55:09 2020 +0200 |
tree | c2e5587c5eb4034e21254a4b818b6e9a50aa0bc5 | |
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 <wu000273@umn.edu> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>