Skip to content

Commit 492eee8

Browse files
prabhakarladKAGA-KOKO
authored andcommitted
irqchip/renesas-rzg2l: Reorder function calls in rzg2l_irqc_irq_disable()
The order of function calls in the disable operation should be the reverse of that in the enable operation. Thus, reorder the function calls to first disable the parent IRQ chip before disabling the TINT IRQ. Reported-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Lad Prabhakar <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Tested-by: Claudiu Beznea <[email protected]> # on RZ/G3S Link: https://lore.kernel.org/r/[email protected]
1 parent 722c938 commit 492eee8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/irqchip/irq-renesas-rzg2l.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,8 +271,8 @@ static void rzg2l_tint_irq_endisable(struct irq_data *d, bool enable)
271271

272272
static void rzg2l_irqc_irq_disable(struct irq_data *d)
273273
{
274-
rzg2l_tint_irq_endisable(d, false);
275274
irq_chip_disable_parent(d);
275+
rzg2l_tint_irq_endisable(d, false);
276276
}
277277

278278
static void rzg2l_irqc_irq_enable(struct irq_data *d)

0 commit comments

Comments
 (0)