gpu: drm: verisilicon: Fixed open clock fail
authorChanghuang Liang <changhuang.liang@starfivetech.com>
Wed, 15 Mar 2023 09:47:29 +0000 (17:47 +0800)
committerChanghuang Liang <changhuang.liang@starfivetech.com>
Wed, 15 Mar 2023 09:47:29 +0000 (17:47 +0800)
Fixed open clock fail because this clock not close.

Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
drivers/gpu/drm/verisilicon/vs_dc.c

index 6bfb594..1038e54 100755 (executable)
@@ -838,6 +838,8 @@ static void vs_dc_disable(struct device *dev, struct drm_crtc *crtc)
 
        if (dc->init_count == 0) {
 
+               clk_disable_unprepare(dc->vout_top_lcd);
+
                vs_dc8200_reset_assert(dc);
 
                /*dc8200 clk disable*/