diff options
author | Joakim Zhang <[email protected]> | 2021-08-03 13:24:24 +0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2021-08-03 14:34:32 -0700 |
commit | b820c114eba7e105556429031656918ebdd50ab1 (patch) | |
tree | 30e7499b5604eaee8e22ffa6f30c0b63595ab1cb /tools/testing/selftests/net/af_unix/test_unix_oob.c | |
parent | 421297efe63f328c872e6aec059463c37d7bcdd8 (diff) |
net: fec: fix MAC internal delay doesn't work
This patch intends to fix MAC internal delay doesn't work, due to use
of_property_read_u32() incorrectly, and improve this feature a bit:
1) check the delay value if valid, only program register when it's 2000ps.
2) only enable "enet_2x_txclk" clock when require MAC internal delay.
Fixes: fc539459e900 ("net: fec: add MAC internal delayed clock feature support")
Signed-off-by: Joakim Zhang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/af_unix/test_unix_oob.c')
0 files changed, 0 insertions, 0 deletions