net: phy: micrel: lan8814: Enable LTC at probe time
authorHoratiu Vultur <horatiu.vultur@microchip.com>
Mon, 8 Apr 2024 06:44:31 +0000 (08:44 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 9 Apr 2024 11:34:03 +0000 (13:34 +0200)
commit9f6b3a498174843f5a9fb573d084bbad381f40f6
tree16c600273b8078622b3171fb25db863c9fd474ff
parent220d63f249ecfa71a9b89dd232383506b56d0073
net: phy: micrel: lan8814: Enable LTC at probe time

The LTC for lan8814 was enabled only if timestamping was enabled,
otherwise it would be stopped. Meaning that LTC will not increase by
itself. This might break other features that don't required timestamping
like generating 1PPS. Therefore enable the LTC at probe time.

Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/phy/micrel.c