[PATCH] irqchip/ti-sci-inta: Fix printing of inta id on probe success
Lokesh Vutla
lokeshvutla at ti.com
Tue Dec 8 01:39:35 EST 2020
Hi Marc,
On 02/11/20 5:36 pm, Lokesh Vutla wrote:
> 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 at ti.com>
Gentle ping .
Thanks and regards,
Lokesh
> ---
> drivers/irqchip/irq-ti-sci-inta.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/irqchip/irq-ti-sci-inta.c b/drivers/irqchip/irq-ti-sci-inta.c
> index e0cceb81c648..d2a2a98c23c2 100644
> --- a/drivers/irqchip/irq-ti-sci-inta.c
> +++ b/drivers/irqchip/irq-ti-sci-inta.c
> @@ -649,7 +649,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;
> }
>
More information about the linux-arm-kernel
mailing list