Revert "net: fec: Stop PPS on driver remove"

This reverts commit e328279c90.
This commit is contained in:
Ksawlii 2024-11-24 00:23:55 +01:00
parent 435344388b
commit 5c2a1132c9

View file

@ -640,9 +640,6 @@ void fec_ptp_stop(struct platform_device *pdev)
struct net_device *ndev = platform_get_drvdata(pdev);
struct fec_enet_private *fep = netdev_priv(ndev);
if (fep->pps_enable)
fec_ptp_enable_pps(fep, 0);
cancel_delayed_work_sync(&fep->time_keep);
if (fep->ptp_clock)
ptp_clock_unregister(fep->ptp_clock);