Skip to contentSkip to conversation

mn10300: use asb2346_fpga_{mask,irq}() instead of direct calculation

PATCH New Alexander Kuleshov 1 participant 1 message Nov 27, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mn10300: use asb2346_fpga_{mask,irq}() instead of direct calculation

---
 arch/mn10300/unit-asb2364/irq-fpga.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
arch/mn10300/unit-asb2364/irq-fpga.c +2 -4
index 073e2cc..9772598 100644
@@ -31,10 +31,8 @@ static void asb2364_fpga_ack(struct irq_data *d)
 
 static void asb2364_fpga_mask_ack(struct irq_data *d)
 {
-	ASB2364_FPGA_REG_MASK(d->irq - NR_CPU_IRQS) = 0x0001;
-	SyncExBus();
-	ASB2364_FPGA_REG_IRQ(d->irq - NR_CPU_IRQS) = 0x0001;
-	SyncExBus();
+	asb2364_fpga_mask(d);
+	asb2364_fpga_irq(d);
 }
 
 static void asb2364_fpga_unmask(struct irq_data *d)
Signature · 1 line
2.5.0