VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   34 Branches   58 Tags
author: Changhuang Liang <changhuang.liang@starfivetech.com> 2023-03-15 17:47:29 +0800 committer: Changhuang Liang <changhuang.liang@starfivetech.com> 2023-03-15 19:33:23 +0800 commit: 728f72deddcf49e883c4e15e74a644898c14c32b parent: c395ddee784d5e421176a837845e9e17acc6f277
Commit Summary:
gpu: drm: verisilicon: Fixed open clock fail
Diffstat:
1 file changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/verisilicon/vs_dc.c b/drivers/gpu/drm/verisilicon/vs_dc.c
index ebc112a6b1f2..3fffa66ca137 100755
--- a/drivers/gpu/drm/verisilicon/vs_dc.c
+++ b/drivers/gpu/drm/verisilicon/vs_dc.c
@@ -842,6 +842,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*/