mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
sky2: Fix for interrupt handler
commit d663d181b9 upstream.
Re-enable interrupts if it is not our interrupt
Signed-off-by: Mirko Lindner <mlindner@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Cc: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
6c0e763318
commit
bb9583e497
@@ -2929,8 +2929,10 @@ static irqreturn_t sky2_intr(int irq, void *dev_id)
|
||||
|
||||
/* Reading this mask interrupts as side effect */
|
||||
status = sky2_read32(hw, B0_Y2_SP_ISRC2);
|
||||
if (status == 0 || status == ~0)
|
||||
if (status == 0 || status == ~0) {
|
||||
sky2_write32(hw, B0_Y2_SP_ICR, 2);
|
||||
return IRQ_NONE;
|
||||
}
|
||||
|
||||
prefetch(&hw->st_le[hw->st_idx]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user