summaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorHeiko Stuebner <heiko@sntech.de>2015-01-30 20:28:48 +0100
committerMark Yao <mark.yao@rock-chips.com>2015-04-03 14:23:01 +0800
commit7f53fbba3cf8db8f584b26e89802413bc2e8d902 (patch)
treefda31bfb904bacd7c0011fc84cfd78b70ac8d047 /lib/mpi/mpiutil.c
parent502e95c6678505474f1056480310cd9382bacbac (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 <heiko@sntech.de> Reviewed-by: Daniel Kurtz <djkurtz@chromium.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions