It looks like that every time when the interface was set down and up the
driver was creating a new ptp clock. On top of this the function
ptp_clock_unregister was never called.
Therefore fix this by calling ptp_clock_register and initialize the
mii_ts struct inside the probe function and call ptp_clock_unregister when
driver is removed.
Fixes:
|
||
|---|---|---|
| .. | ||
| Makefile | ||
| mscc.h | ||
| mscc_fc_buffer.h | ||
| mscc_mac.h | ||
| mscc_macsec.c | ||
| mscc_macsec.h | ||
| mscc_main.c | ||
| mscc_ptp.c | ||
| mscc_ptp.h | ||
| mscc_serdes.c | ||
| mscc_serdes.h | ||