Heiko Stuebner 9853294627 net: phy: micrel: use devm_clk_get_optional_enabled for the rmii-ref clock
While the external clock input will most likely be enabled, it's not
guaranteed and clk_get_rate in some suppliers will even just return
valid results when the clock is running.

So use devm_clk_get_optional_enabled to retrieve and enable the clock
in one go.

Signed-off-by: Heiko Stuebner <heiko.stuebner@cherry.de>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20231201150131.326766-2-heiko@sntech.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-12-04 14:43:54 -08:00
..
2023-10-17 12:45:03 +02:00
2023-11-13 11:09:20 +00:00
2023-11-19 19:48:25 +00:00
2023-10-26 15:21:09 +02:00
2023-10-04 11:49:20 -07:00
2023-10-17 17:44:51 -07:00
2023-11-23 13:23:59 +01:00