mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
rk3128: hdmi: add disable clock when system shutdown
disable clock will call disable power domain. hdmi and lcdc share the power domain, so they must disable the power domain when system shutdown. Signed-off-by: zwl <zwl@rockchips.com>
This commit is contained in:
@@ -515,6 +515,7 @@ static void rk3036_hdmi_shutdown(struct platform_device *pdev)
|
||||
mutex_unlock(&hdmi_drv->enable_mutex);
|
||||
if (hdmi_drv->hotplug == HDMI_HPD_ACTIVED)
|
||||
rk3036_hdmi_control_output(hdmi_drv, 0);
|
||||
rk3036_hdmi_clk_disable(hdmi_dev);
|
||||
}
|
||||
hdmi_dbg(hdmi_drv->dev, "rk3036 hdmi shut down.\n");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user