Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1617950 > unrolled thread

[PATCH v5 09/12] drm/rockchip: analogix_dp: Disable clock when unbinding

Started byJeffy Chen <jeffy.chen@rock-chips.com>
First post2017-04-06 14:40 +0200
Last post2017-04-06 14:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v5 09/12] drm/rockchip: analogix_dp: Disable clock when unbinding Jeffy Chen <jeffy.chen@rock-chips.com> - 2017-04-06 14:40 +0200

#1617950 — [PATCH v5 09/12] drm/rockchip: analogix_dp: Disable clock when unbinding

FromJeffy Chen <jeffy.chen@rock-chips.com>
Date2017-04-06 14:40 +0200
Subject[PATCH v5 09/12] drm/rockchip: analogix_dp: Disable clock when unbinding
Message-ID<tteRH-5K-5@gated-at.bofh.it>
The clock is enabled when binding cdn dp.

Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
---

Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None

 drivers/gpu/drm/rockchip/analogix_dp-rockchip.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/rockchip/analogix_dp-rockchip.c b/drivers/gpu/drm/rockchip/analogix_dp-rockchip.c
index 91ebe5c..c3b9f1d 100644
--- a/drivers/gpu/drm/rockchip/analogix_dp-rockchip.c
+++ b/drivers/gpu/drm/rockchip/analogix_dp-rockchip.c
@@ -417,7 +417,8 @@ static void rockchip_dp_unbind(struct device *dev, struct device *master,
 
 	rockchip_drm_psr_unregister(&dp->encoder);
 
-	return analogix_dp_unbind(dev, master, data);
+	analogix_dp_unbind(dev, master, data);
+	clk_disable_unprepare(dp->pclk);
 }
 
 static const struct component_ops rockchip_dp_component_ops = {
-- 
2.1.4

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web