mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +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:
@@ -3544,6 +3544,8 @@ void dw_hdmi_resume(struct dw_hdmi *hdmi)
|
||||
pinctrl_pm_select_default_state(hdmi->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