Commit b7ac7b5b authored by Jeffy Chen's avatar Jeffy Chen Committed by Sean Paul

drm/rockchip: analogix_dp: Disable clock when unbinding

The clock is enabled when binding cdn dp.
Signed-off-by: default avatarJeffy Chen <jeffy.chen@rock-chips.com>
Signed-off-by: default avatarSean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1491481885-13775-10-git-send-email-jeffy.chen@rock-chips.com
parent ec6e7767
...@@ -417,7 +417,8 @@ static void rockchip_dp_unbind(struct device *dev, struct device *master, ...@@ -417,7 +417,8 @@ static void rockchip_dp_unbind(struct device *dev, struct device *master,
rockchip_drm_psr_unregister(&dp->encoder); 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 = { static const struct component_ops rockchip_dp_component_ops = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment