The DC on i.MX95 contains multiple interrupt controllers,
use DT node name as interrupt controller name to tell them
apart.

Signed-off-by: Marek Vasut <[email protected]>
---
Cc: Abel Vesa <[email protected]>
Cc: Conor Dooley <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Laurent Pinchart <[email protected]>
Cc: Liu Ying <[email protected]>
Cc: Lucas Stach <[email protected]>
Cc: Peng Fan <[email protected]>
Cc: Pengutronix Kernel Team <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Shawn Guo <[email protected]>
Cc: Thomas Zimmermann <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
---
 drivers/gpu/drm/imx/dc/dc-ic.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/imx/dc/dc-ic.c b/drivers/gpu/drm/imx/dc/dc-ic.c
index f327ef0918766..c3d7e5aa4ae23 100644
--- a/drivers/gpu/drm/imx/dc/dc-ic.c
+++ b/drivers/gpu/drm/imx/dc/dc-ic.c
@@ -217,7 +217,8 @@ static int dc_ic_probe(struct platform_device *pdev)
        }
        irq_domain_set_pm_device(data->domain, dev);
 
-       ret = irq_alloc_domain_generic_chips(data->domain, 32, 1, "DC",
+       ret = irq_alloc_domain_generic_chips(data->domain, 32, 1,
+                                            of_node_full_name(dev->of_node),
                                             handle_level_irq, 0, 0, 0);
        if (ret) {
                dev_err(dev, "failed to alloc generic IRQ chips: %d\n", ret);
-- 
2.51.0

Reply via email to