projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e76732
)
sky2: Fix for interrupt handler
author
Mirko Lindner
<mlindner@marvell.com>
Tue, 3 Jul 2012 23:38:46 +0000
(23:38 +0000)
committer
David S. Miller
<davem@davemloft.net>
Mon, 9 Jul 2012 07:05:40 +0000
(
00:05
-0700)
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>
drivers/net/ethernet/marvell/sky2.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/ethernet/marvell/sky2.c
b/drivers/net/ethernet/marvell/sky2.c
index f1163b2aa2847449620c466f2ba5a66d713d597d..2b0748dba8b874544c935df9b7ba224141b1a2b3 100644
(file)
--- a/
drivers/net/ethernet/marvell/sky2.c
+++ b/
drivers/net/ethernet/marvell/sky2.c
@@
-3080,8
+3080,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]);