aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorQiushi Wu <[email protected]>2020-06-14 04:36:59 +0200
committerMauro Carvalho Chehab <[email protected]>2020-09-27 10:53:52 +0200
commit88f50a05f907d96a27a9ce3cc9e8cbb91a6f0f22 (patch)
tree57b67c2013aceb745c0790163981bd087449097d /tools/perf/scripts/python
parent78741ce98c2e36188e2343434406b0e0bc50b0e7 (diff)
media: stm32-dcmi: Fix a reference count leak
Calling pm_runtime_get_sync increments the counter even in case of failure, causing incorrect ref count if pm_runtime_put is not called in error handling paths. Thus replace the jump target "err_release_buffers" by "err_pm_putw". Fixes: 152e0bf60219 ("media: stm32-dcmi: add power saving support") 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