diff options
author | Heiko Stuebner <[email protected]> | 2023-12-01 16:01:30 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-12-04 14:43:54 -0800 |
commit | 9853294627237b73a6b765162d9c0485b0697db5 (patch) | |
tree | 44a3d733e7b2cedddee1dc0672f74923e98e85c3 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 8ad55b1e73c4e77656e2bea68fa2b484f33a6425 (diff) |
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 <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions