mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 10:00:17 +00:00
irqchip/ti-sci-inta: Fix printing of inta id on probe success
[ Upstream commitb10d5fd489] On a successful probe, the driver tries to print a success message with INTA device id. It uses pdev->id for printing the id but id is stored in inta->ti_sci_id. Fix it by correcting the dev_info parameter. Fixes:5c4b585d29("irqchip/ti-sci-inta: Add support for INTA directly connecting to GIC") Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20201102120614.11109-1-lokeshvutla@ti.com Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
d05c219375
commit
629d6ba81f
@@ -726,7 +726,7 @@ static int ti_sci_inta_irq_domain_probe(struct platform_device *pdev)
|
|||||||
INIT_LIST_HEAD(&inta->vint_list);
|
INIT_LIST_HEAD(&inta->vint_list);
|
||||||
mutex_init(&inta->vint_mutex);
|
mutex_init(&inta->vint_mutex);
|
||||||
|
|
||||||
dev_info(dev, "Interrupt Aggregator domain %d created\n", pdev->id);
|
dev_info(dev, "Interrupt Aggregator domain %d created\n", inta->ti_sci_id);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user