Re: [PATCH linux-next] soc: Use generic_handle_domain_irq()

From: Mukesh Ojha
Date: Tue Oct 11 2022 - 00:24:33 EST


Hi,

On 10/11/2022 8:50 AM, yexingchen116@xxxxxxxxx wrote:
From: ye xingchen <ye.xingchen@xxxxxxxxxx>

Replace generic_handle_irq(irq_find_mapping()) with
generic_handle_domain_irq().

Signed-off-by: ye xingchen <ye.xingchen@xxxxxxxxxx>
---
drivers/soc/dove/pmu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/soc/dove/pmu.c b/drivers/soc/dove/pmu.c
index ffc5311c0ed8..308fe45231b4 100644
--- a/drivers/soc/dove/pmu.c
+++ b/drivers/soc/dove/pmu.c
@@ -243,7 +243,7 @@ static void pmu_irq_handler(struct irq_desc *desc)
stat &= ~(1 << hwirq);
done &= ~(1 << hwirq);
- generic_handle_irq(irq_find_mapping(domain, hwirq));
+ generic_handle_domain_irq(domain, hwirq);

Thanks.

Reviewed-By : Mukesh Ojha <quic_mojha@xxxxxxxxxxx>

-Mukesh


}
/*