Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a3359e21 authored by eric miao's avatar eric miao Committed by Russell King
Browse files

[ARM] 4840/1: pxa: fix the typo in get_irqnr_and_base



This typo causes the incorrect calculation of the IRQ numbers
in the ICIP2 registers.

Signed-off-by: default avatareric miao <eric.miao@marvell.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 9ae3ae0b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@
1004:
		mrc	p6, 0, \irqstat, c6, c0, 0	@ ICIP2
		mrc	p6, 0, \irqnr, c7, c0, 0	@ ICMR2
		ands	\irqstat, \irqstat, \irqnr
		ands	\irqnr, \irqstat, \irqnr
		beq	1003f
		rsb	\irqstat, \irqnr, #0
		and	\irqstat, \irqstat, \irqnr