From: Troy Kisky <[email protected]> Sent: Wednesday, April 06, 
2016 10:26 AM
> To: [email protected]; [email protected]; Fugang Duan
> <[email protected]>; [email protected]
> Cc: Fabio Estevam <[email protected]>; [email protected];
> [email protected]; [email protected]; [email protected]; linux-arm-
> [email protected]; [email protected];
> [email protected]; [email protected];
> [email protected]; Troy Kisky <[email protected]>
> Subject: [PATCH net-next V3 03/16] 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]>
> 
> ---
> v3: New patch, came from feedback from another patch.
> ---
>  drivers/net/ethernet/freescale/fec_main.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/net/ethernet/freescale/fec_main.c
> b/drivers/net/ethernet/freescale/fec_main.c
> index a011719..7993040 100644
> --- a/drivers/net/ethernet/freescale/fec_main.c
> +++ b/drivers/net/ethernet/freescale/fec_main.c
> @@ -1579,8 +1579,8 @@ fec_enet_interrupt(int irq, void *dev_id)
>       }
> 
>       if (fep->ptp_clock)
> -             fec_ptp_check_pps_event(fep);
> -
> +             if (fec_ptp_check_pps_event(fep))
> +                     ret = IRQ_HANDLED;
>       return ret;
>  }
> 
> --
> 2.5.0

Acked-by: Fugang Duan <[email protected]>

Reply via email to