aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorSudip Mukherjee <[email protected]>2014-11-06 10:04:27 -0300
committerMauro Carvalho Chehab <[email protected]>2014-11-11 08:48:21 -0200
commit47efeb52f78fd37df91d13e15296f8070d549f81 (patch)
tree1371b1a43ee342b7f04494a4d65979d19ff99e00 /tools/perf/scripts/python/event_analyzing_sample.py
parent24c4942d29c8b7ae344d094495019b5587275490 (diff)
[media] media: davinci: vpbe: missing clk_put
we are getting struct clk using clk_get before calling clk_prepare_enable. but if clk_prepare_enable fails, then we are jumping to fail_mutex_unlock where we are just unlocking the mutex, but we are not freeing the clock source. this patch just adds a call to clk_put before jumping to fail_mutex_unlock. Signed-off-by: Sudip Mukherjee <[email protected]> Acked-by: Lad, Prabhakar <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions