PPS feature could be useful even when hardware time stamping
of network packets is not in use, so remove offending check
for this condition from fec_ptp_enable_pps().
Signed-off-by: Sergey Organov <sorganov@gmail.com>
Acked-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
        u64 ns;
        val = 0;
 
-       if (!(fep->hwts_tx_en || fep->hwts_rx_en)) {
-               dev_err(&fep->pdev->dev, "No ptp stack is running\n");
-               return -EINVAL;
-       }
-
        if (fep->pps_enable == enable)
                return 0;