diff options
author | Heiko Stuebner <[email protected]> | 2015-01-30 20:28:48 +0100 |
---|---|---|
committer | Mark Yao <[email protected]> | 2015-04-03 14:23:01 +0800 |
commit | 7f53fbba3cf8db8f584b26e89802413bc2e8d902 (patch) | |
tree | fda31bfb904bacd7c0011fc84cfd78b70ac8d047 /tools/perf/util/trace-event-scripting.c | |
parent | 502e95c6678505474f1056480310cd9382bacbac (diff) |
drm/rockchip: fix clk enable disable mismatch in vop_crtc_mode_set
The function disables the dclk at the beginning, so don't simply return
when an error happens, but instead enable the clock again, so that
enable and disable calls are balanced.
ret_clk is introduced to hold the clk_enable result and not mangle the
original error code.
Signed-off-by: Heiko Stuebner <[email protected]>
Reviewed-by: Daniel Kurtz <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions