Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6276288a authored by Lino Sanfilippo's avatar Lino Sanfilippo Committed by David S. Miller
Browse files

skge: Unmask interrupts in case of spurious interrupts



In case of a spurious interrupt dont forget to reenable the interrupts that
have been masked by reading the interrupt source register.

Signed-off-by: default avatarLino Sanfilippo <LinoSanfilippo@gmx.de>
Acked-by: default avatarMirko Lindner <mlindner@marvell.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8961b194
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -3433,10 +3433,9 @@ static irqreturn_t skge_intr(int irq, void *dev_id)

	if (status & IS_HW_ERR)
		skge_error_irq(hw);

out:
	skge_write32(hw, B0_IMSK, hw->intr_mask);
	skge_read32(hw, B0_IMSK);
out:
	spin_unlock(&hw->hw_lock);

	return IRQ_RETVAL(handled);