drm: sti: fix clocking issues in crtc
authorBenjamin Gaignard <benjamin.gaignard@linaro.org>
Thu, 26 May 2016 08:39:20 +0000 (10:39 +0200)
committerBenjamin Gaignard <benjamin.gaignard@linaro.org>
Mon, 27 Jun 2016 08:18:10 +0000 (10:18 +0200)
commit32e145926b7936886de8563cc727224cdc048ffe
tree6de1954e0d6d53821f957e93310e761450aa757a
parent2c83f581611491e5efcc619e1198f0fcad9f330b
drm: sti: fix clocking issues in crtc

fix and simplify clock management in crtc to avoid unbalanced
call to clk_prepare_enable and clk_disable_unprepare functions
remove unused functions

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
drivers/gpu/drm/sti/sti_crtc.c