mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
drm/rockchip: dw_hdmi_qp: Provide CEC IRQ in dw_hdmi_qp_plat_data
In order to support the CEC interface of the DesignWare HDMI QP IP block, setup platform data to include the required IRQ number. Reviewed-by: Daniel Stone <daniels@collabora.com> Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com> Signed-off-by: Heiko Stuebner <heiko@sntech.de> Link: https://lore.kernel.org/r/20250903-rk3588-hdmi-cec-v4-4-fa25163c4b08@collabora.com
This commit is contained in:
committed by
Heiko Stuebner
parent
b6736a4ea3
commit
9baa02327a
@@ -525,6 +525,10 @@ static int dw_hdmi_qp_rockchip_bind(struct device *dev, struct device *master,
|
||||
if (plat_data.main_irq < 0)
|
||||
return plat_data.main_irq;
|
||||
|
||||
plat_data.cec_irq = platform_get_irq_byname(pdev, "cec");
|
||||
if (plat_data.cec_irq < 0)
|
||||
return plat_data.cec_irq;
|
||||
|
||||
irq = platform_get_irq_byname(pdev, "hpd");
|
||||
if (irq < 0)
|
||||
return irq;
|
||||
|
||||
Reference in New Issue
Block a user