Skip to content

Commit cc1b01e

Browse files
charles-parktobetter
authored andcommitted
ODROID-C2: hdmi: HPD Disable logic modified.
Change-Id: I9e51f5e3e31221d85bbe5089dacf46290725981d
1 parent 7de81cf commit cc1b01e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

drivers/amlogic/hdmi/hdmi_tx_20/hw/hdmi_tx_hw.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2551,6 +2551,15 @@ static void hdmitx_setupirq(struct hdmitx_dev *phdev)
25512551
r = request_irq(phdev->irq_hpd, &intr_handler,
25522552
IRQF_SHARED, "hdmitx",
25532553
(void *)phdev);
2554+
2555+
if (disableHPD) {
2556+
phdev->hdmitx_event |= HDMI_TX_HPD_PLUGIN;
2557+
phdev->hdmitx_event &= ~HDMI_TX_HPD_PLUGOUT;
2558+
PREPARE_DELAYED_WORK(&phdev->work_hpd_plugin,
2559+
hdmitx_hpd_plugin_handler);
2560+
queue_delayed_work(phdev->hdmi_wq,
2561+
&phdev->work_hpd_plugin, HZ/3);
2562+
}
25542563
}
25552564

25562565
static void hdmitx_uninit(struct hdmitx_dev *phdev)

0 commit comments

Comments
 (0)