diff options
| author | Christophe JAILLET <[email protected]> | 2021-08-19 22:21:25 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2021-09-30 10:07:55 +0200 |
| commit | 2143ad413c05c7be24c3a92760e367b7f6aaac92 (patch) | |
| tree | 13ed5001b41350605f24a24922352bfb842c51eb /tools/perf/scripts/python/flamegraph.py | |
| parent | 749d896551df2ae6996aab51c25bbb3ecd589774 (diff) | |
media: mtk-vpu: Fix a resource leak in the error handling path of 'mtk_vpu_probe()'
A successful 'clk_prepare()' call should be balanced by a corresponding
'clk_unprepare()' call in the error handling path of the probe, as already
done in the remove function.
Update the error handling path accordingly.
Fixes: 3003a180ef6b ("[media] VPU: mediatek: support Mediatek VPU")
Signed-off-by: Christophe JAILLET <[email protected]>
Reviewed-by: Houlong Wei <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions