Skip to contentSkip to conversation

drm/bridge: tda998x: use irq_get_trigger_type()

PATCH New Zhen Ni 1 participant 1 message Aug 29, 2025

Subsystems (4)
lore
Share & tools
lore

Zhen Ni

author
#0 lore raw

PATCH 1/1 drm/bridge: tda998x: use irq_get_trigger_type()

Use irq_get_trigger_type() to replace getting the irq data then the type in two steps.

---
 drivers/gpu/drm/bridge/tda998x_drv.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/bridge/tda998x_drv.c +1 -2
index e636459d9185..4b56dfcfe239 100644
@@ -1876,8 +1876,7 @@ static int tda998x_create(struct device *dev)
 		/* init read EDID waitqueue and HDP work */
 		init_waitqueue_head(&priv->wq_edid);
 
-		irq_flags =
-			irqd_get_trigger_type(irq_get_irq_data(client->irq));
+		irq_flags = irq_get_trigger_type(client->irq);
 
 		priv->cec_glue.irq_flags = irq_flags;
 
Signature · 1 line
2.20.1