mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user