We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f3eac1 commit 85a5ebaCopy full SHA for 85a5eba
drivers/net/ethernet/freescale/fec_ptp.c
@@ -640,6 +640,9 @@ void fec_ptp_stop(struct platform_device *pdev)
640
struct net_device *ndev = platform_get_drvdata(pdev);
641
struct fec_enet_private *fep = netdev_priv(ndev);
642
643
+ if (fep->pps_enable)
644
+ fec_ptp_enable_pps(fep, 0);
645
+
646
cancel_delayed_work_sync(&fep->time_keep);
647
if (fep->ptp_clock)
648
ptp_clock_unregister(fep->ptp_clock);
0 commit comments