Skip to content

Commit e24ee27

Browse files
tkiskydavem330
authored andcommitted
net: fec: return IRQ_HANDLED if fec_ptp_check_pps_event handled it
fec_ptp_check_pps_event will return 1 if FEC_T_TF_MASK caused an interrupt. Don't return IRQ_NONE in this case. Signed-off-by: Troy Kisky <[email protected]> Acked-by: Fugang Duan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 7063c16 commit e24ee27

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/net/ethernet/freescale/fec_main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1604,8 +1604,8 @@ fec_enet_interrupt(int irq, void *dev_id)
16041604
}
16051605

16061606
if (fep->ptp_clock)
1607-
fec_ptp_check_pps_event(fep);
1608-
1607+
if (fec_ptp_check_pps_event(fep))
1608+
ret = IRQ_HANDLED;
16091609
return ret;
16101610
}
16111611

0 commit comments

Comments
 (0)