* [PATCH] drm/bridge: tda998x: use irq_get_trigger_type()
@ 2025-08-28 12:55 Zhen Ni
0 siblings, 0 replies; only message in thread
From: Zhen Ni @ 2025-08-28 12:55 UTC (permalink / raw)
To: linux, andrzej.hajda, neil.armstrong, rfoss, Laurent.pinchart,
jonas, jernej.skrabec, maarten.lankhorst, mripard, tzimmermann,
airlied, simona
Cc: dri-devel, Zhen Ni
Use irq_get_trigger_type() to replace getting the irq data then the
type in two steps.
Signed-off-by: Zhen Ni <zhen.ni@easystack.cn>
---
drivers/gpu/drm/bridge/tda998x_drv.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/bridge/tda998x_drv.c b/drivers/gpu/drm/bridge/tda998x_drv.c
index e636459d9185..4b56dfcfe239 100644
--- a/drivers/gpu/drm/bridge/tda998x_drv.c
+++ b/drivers/gpu/drm/bridge/tda998x_drv.c
@@ -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;
--
2.20.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2025-08-29 7:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-28 12:55 [PATCH] drm/bridge: tda998x: use irq_get_trigger_type() Zhen Ni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).