]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip: gic: fix irq_trigger return
authorAbhijeet Dharmapurikar <adharmap@codeaurora.org>
Tue, 19 Mar 2013 23:05:49 +0000 (16:05 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 26 Mar 2013 19:52:25 +0000 (20:52 +0100)
commitc0c8d69ffad3dfbe7e310189f0f84caed8e6064b
treed31abd3598860548f8cdbdb5513bab15e61298a4
parent9bf15ca5b1cb53450421b78103d961c8ddd89a46
irqchip: gic: fix irq_trigger return

The genirq layer expects a 0 in case that the retrigger function is
not able to resend the irq in hardware, but the code is returning
-ENXIO. Fix it.

[ tglx: Reworked comment and changelog ]

Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Cc: linux-arm-kernel@lists.infradead.org
Link: http://lkml.kernel.org/r/1363734349-32635-1-git-send-email-sboyd@codeaurora.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/irqchip/irq-gic.c