mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-19 18:24:14 +08:00
drm/rockchip: vop: Unprepare clocks when unbinding
The clocks are prepared when binding vop. Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com> Signed-off-by: Sean Paul <seanpaul@chromium.org> Link: http://patchwork.freedesktop.org/patch/msgid/1491481885-13775-9-git-send-email-jeffy.chen@rock-chips.com
This commit is contained in:
parent
5e570373c0
commit
ec6e7767c9
@ -1634,6 +1634,10 @@ static void vop_unbind(struct device *dev, struct device *master, void *data)
|
||||
|
||||
pm_runtime_disable(dev);
|
||||
vop_destroy_crtc(vop);
|
||||
|
||||
clk_unprepare(vop->aclk);
|
||||
clk_unprepare(vop->hclk);
|
||||
clk_unprepare(vop->dclk);
|
||||
}
|
||||
|
||||
const struct component_ops vop_component_ops = {
|
||||
|
Loading…
Reference in New Issue
Block a user