projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d05c219
)
irqchip/ti-sci-inta: Fix printing of inta id on probe success
author
Lokesh Vutla
<lokeshvutla@ti.com>
Mon, 2 Nov 2020 12:06:14 +0000
(17:36 +0530)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 30 Dec 2020 10:53:50 +0000
(11:53 +0100)
[ Upstream commit
b10d5fd489b0c67f59cbdd28d95f4bd9f76a62f2
]
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:
5c4b585d2910
("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>
drivers/irqchip/irq-ti-sci-inta.c
patch
|
blob
|
history
diff --git
a/drivers/irqchip/irq-ti-sci-inta.c
b/drivers/irqchip/irq-ti-sci-inta.c
index
b2ab8db
..
532d0ae
100644
(file)
--- a/
drivers/irqchip/irq-ti-sci-inta.c
+++ b/
drivers/irqchip/irq-ti-sci-inta.c
@@
-726,7
+726,7
@@
static int ti_sci_inta_irq_domain_probe(struct platform_device *pdev)
INIT_LIST_HEAD(&inta->vint_list);
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;
}