mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] mn10300: use asb2346_fpga_{mask,irq}() instead of direct calculation
@ 2015-11-27 12:49 Alexander Kuleshov
  0 siblings, 0 replies; only message in thread
From: Alexander Kuleshov @ 2015-11-27 12:49 UTC (permalink / raw)
  To: David Howells
  Cc: Koichi Yasutake, linux-am33-list, linux-kernel, Alexander Kuleshov

Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
---
 arch/mn10300/unit-asb2364/irq-fpga.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/arch/mn10300/unit-asb2364/irq-fpga.c b/arch/mn10300/unit-asb2364/irq-fpga.c
index 073e2cc..9772598 100644
--- a/arch/mn10300/unit-asb2364/irq-fpga.c
+++ b/arch/mn10300/unit-asb2364/irq-fpga.c
@@ -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)
-- 
2.5.0


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-11-27 12:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-27 12:49 [PATCH] mn10300: use asb2346_fpga_{mask,irq}() instead of direct calculation Alexander Kuleshov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®