drm/bridge: dw_hdmi: initialize hdmi i2c when system resume

Change-Id: Ie9373517e255c91ded38a4e620d15d5cfd0bd9c4
Signed-off-by: algea.cao <algea.cao@rock-chips.com>
This commit is contained in:
algea.cao
2017-03-28 08:58:10 +08:00
committed by Huang, Tao
parent 51e9780014
commit 7e5e16acbe

View File

@@ -2658,6 +2658,8 @@ void dw_hdmi_resume(struct device *dev)
mutex_lock(&hdmi->mutex);
dw_hdmi_reg_initial(hdmi);
if (hdmi->i2c)
dw_hdmi_i2c_init(hdmi);
if (hdmi->irq)
enable_irq(hdmi->irq);
mutex_unlock(&hdmi->mutex);