Searched hist:"31 d00ca4ce0e1abf5342854606bbe7d20e38c3f8" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/phy/ |
H A D | micrel.c | diff 31d00ca4ce0e1abf5342854606bbe7d20e38c3f8 Wed Apr 27 16:44:05 CDT 2022 Michael Walle <michael@walle.cc> net: phy: micrel: move the PHY timestamping check
Both lan8814_ptp_init() and lan8814_ptp_probe_once() are only used if PTP and PHY timestamping is enabed. Up until now the probe function just returns early, if they are not needed. But we need the phy_package_init_once() functionality for the coma mode GPIO setup. Move the check into the functions itself.
Signed-off-by: Michael Walle <michael@walle.cc> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
|