[PATCH] ARM: OMAP2+: INTC: Acknowledge stuck active interrupts

2014-03-06 Thread Stefan Sørensen
. This will result in a storm of useless interrupts that is only stopped when another higher priority interrupt is asserted. Fix by sending the INTC an acknowledge if we find no interrupts to handle. Signed-off-by: Stefan Sørensen --- arch/arm/mach-omap2/irq.c | 8 1 file changed, 8

[PATCH] ARM: OMAP2+: Use handle_fasteoi_irq for INTC interrupt handling

2014-02-24 Thread Stefan Sørensen
handler, so using this for handling INTC interrupts avoid the above problem. This also brings the handling more in line with the sequence described in the TRM. Signed-off-by: Stefan Sørensen --- arch/arm/mach-omap2/irq.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a

[PATCH] mtd:elm: Use correct check on return value of pm_runtime_get_sync

2014-02-05 Thread Stefan Sørensen
The ELM driver incorrectly reagard any non-zero return value from pm_runtime_get_sync as an error, but it may return 1 if the device was already active. Fix to only error when return value is negative. Signed-off-by: Stefan Sørensen --- drivers/mtd/devices/elm.c | 2 +- 1 file changed, 1