diff options
author | Martin Blumenstingl <martin.blumenstingl@googlemail.com> | 2020-05-12 23:11:02 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-13 12:23:14 -0700 |
commit | a54dc4a4904568fe2c6b2ba249dcc97612affebb (patch) | |
tree | 55f67715db4ff0a291f8d28bf5555e02b806c44f /tools/testing/selftests/tc-testing/tdc_batch.py | |
parent | e4227bff804fc77e2f78c77470d3fbd2d4a6a8d0 (diff) |
net: stmmac: dwmac-meson8b: Make the clock enabling code re-usable
The timing adjustment clock will need similar logic as the RGMII clock:
It has to be enabled in the driver conditionally and when the driver is
unloaded it should be disabled again. Extract the existing code for the
RGMII clock into a new function so it can be re-used.
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/tc-testing/tdc_batch.py')
0 files changed, 0 insertions, 0 deletions