diff options
| author | Zhang Qilong <zhangqilong3@huawei.com> | 2020-11-02 17:26:22 +0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-11-16 12:31:16 +0300 |
| commit | 940727bf22f74cbdef8de327de34c4ae565c89ea (patch) | |
| tree | 7eb9b92696e36d3c2dc762802c926b87752f1604 /include/uapi | |
| parent | 4cbbe2aaa0536b0e7b3dfbd7febc3bc2ec300559 (diff) | |
| download | linux-940727bf22f74cbdef8de327de34c4ae565c89ea.tar.xz | |
media: cedrus: fix reference leak in cedrus_start_streaming
pm_runtime_get_sync will increment pm usage counter even it
failed. Forgetting to pm_runtime_put_noidle will result in
reference leak in cedrus_start_streaming. We should fix it.
Fixes: d5aecd289babf ("media: cedrus: Implement runtime PM")
Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions
