diff options
author | Jeffy Chen <jeffy.chen@rock-chips.com> | 2017-04-06 20:31:16 +0800 |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2017-04-07 13:28:31 -0400 |
commit | ede2fdf6776ac0b1be0729d3ef9a553262a259d9 (patch) | |
tree | 7f412806bc5e39e05cd3d2a27b2d38bdf681186f | |
parent | 7b017a5816935b850754c0da5be21d05c35a19b7 (diff) | |
download | linux-ede2fdf6776ac0b1be0729d3ef9a553262a259d9.tar.bz2 |
drm: bridge: analogix: Disable clock when unbinding
The clock is enabled when binding analogix dp.
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1491481885-13775-4-git-send-email-jeffy.chen@rock-chips.com
-rw-r--r-- | drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c index 7b75f822045e..d05ade4fb7fd 100644 --- a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c +++ b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c @@ -1449,6 +1449,7 @@ void analogix_dp_unbind(struct device *dev, struct device *master, drm_dp_aux_unregister(&dp->aux); pm_runtime_disable(dev); + clk_disable_unprepare(dp->clock); } EXPORT_SYMBOL_GPL(analogix_dp_unbind); |