mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 10:31:46 +09:00
drm/bridge: synopsys: Fixes compilation errors when cec core is not compiled
Fix error: implicit declaration of function 'cec_queue_pin_hpd_event'.
Fixes: 5fe797153d ("drm: bridge: dw-hdmi: Support report cec hpd")
Change-Id: I4ddae31d5b72b17fdd33fbc28ca454dc57377f74
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
This commit is contained in:
@@ -429,10 +429,12 @@ static void repo_hpd_event(struct work_struct *p_work)
|
||||
if (change) {
|
||||
if (hdmi->plat_data->set_ddc_io)
|
||||
hdmi->plat_data->set_ddc_io(data, hdmi->hpd_state);
|
||||
#if IS_REACHABLE(CONFIG_DRM_DW_HDMI_CEC)
|
||||
if (hdmi->cec_adap->devnode.registered)
|
||||
cec_queue_pin_hpd_event(hdmi->cec_adap,
|
||||
hdmi->hpd_state,
|
||||
ktime_get());
|
||||
#endif
|
||||
}
|
||||
drm_bridge_hpd_notify(&hdmi->bridge, status);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user