mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
hdmi_tx: fix hdmitx event extcon_audio when rising
PD#161285: fix extcon_audio event occur before extcon_hdmi when rising Change-Id: I70fd070f62cc36e76aeba260420b24df1b1fe29f Signed-off-by: qi.yuan <qi.yuan@amlogic.com>
This commit is contained in:
@@ -2991,7 +2991,7 @@ static void hdmitx_hpd_plugin_handler(struct work_struct *work)
|
||||
hdmitx_notify_hpd(hdev->hpd_state);
|
||||
|
||||
extcon_set_state_sync(hdmitx_extcon_hdmi, EXTCON_DISP_HDMI, 1);
|
||||
|
||||
extcon_set_state_sync(hdmitx_extcon_audio, EXTCON_DISP_HDMI, 1);
|
||||
mutex_unlock(&setclk_mutex);
|
||||
}
|
||||
|
||||
|
||||
@@ -652,8 +652,6 @@ static irqreturn_t intr_handler(int irq, void *dev)
|
||||
}
|
||||
/* HPD rising */
|
||||
if (data32 & (1 << 1)) {
|
||||
queue_delayed_work(hdev->hdmi_wq,
|
||||
&hdev->work_aud_hpd_plug, HZ / 2);
|
||||
hdev->hdmitx_event |= HDMI_TX_HPD_PLUGIN;
|
||||
hdev->hdmitx_event &= ~HDMI_TX_HPD_PLUGOUT;
|
||||
queue_delayed_work(hdev->hdmi_wq,
|
||||
|
||||
Reference in New Issue
Block a user