Skip to content

Commit 5530f85

Browse files
committed
Merge tag 'mvebu-fixes-4.4-1' of git://git.infradead.org/linux-mvebu into fixes
Merge "mvebu fixes for 4.4 (part 1)" from Jason Cooper: - Fix QNAP TS219 power-off in dts - Fix legacy get_irqnr_and_base for dove and orion5x * tag 'mvebu-fixes-4.4-1' of git://git.infradead.org/linux-mvebu: ARM: orion5x: Fix legacy get_irqnr_and_base ARM: dove: Fix legacy get_irqnr_and_base ARM: dts: Kirkwood: Fix QNAP TS219 power-off
2 parents 97a586d + 4d2ec7e commit 5530f85

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

arch/arm/boot/dts/kirkwood-ts219.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
};
4141
poweroff@12100 {
4242
compatible = "qnap,power-off";
43-
reg = <0x12000 0x100>;
43+
reg = <0x12100 0x100>;
4444
clocks = <&gate_clk 7>;
4545
};
4646
spi@10600 {

arch/arm/mach-dove/include/mach/entry-macro.S

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
1818
@ check low interrupts
1919
ldr \irqstat, [\base, #IRQ_CAUSE_LOW_OFF]
2020
ldr \tmp, [\base, #IRQ_MASK_LOW_OFF]
21-
mov \irqnr, #31
21+
mov \irqnr, #32
2222
ands \irqstat, \irqstat, \tmp
2323

2424
@ if no low interrupts set, check high interrupts
2525
ldreq \irqstat, [\base, #IRQ_CAUSE_HIGH_OFF]
2626
ldreq \tmp, [\base, #IRQ_MASK_HIGH_OFF]
27-
moveq \irqnr, #63
27+
moveq \irqnr, #64
2828
andeqs \irqstat, \irqstat, \tmp
2929

3030
@ find first active interrupt source

arch/arm/mach-orion5x/include/mach/entry-macro.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@
2121
@ find cause bits that are unmasked
2222
ands \irqstat, \irqstat, \tmp @ clear Z flag if any
2323
clzne \irqnr, \irqstat @ calc irqnr
24-
rsbne \irqnr, \irqnr, #31
24+
rsbne \irqnr, \irqnr, #32
2525
.endm

0 commit comments

Comments
 (0)