diff options
| author | Joakim Zhang <[email protected]> | 2021-08-03 05:24:24 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2021-08-03 21:34:32 +0000 |
| commit | b820c114eba7e105556429031656918ebdd50ab1 (patch) | |
| tree | 30e7499b5604eaee8e22ffa6f30c0b63595ab1cb /net/unix/af_unix.c | |
| parent | net: dsa: tag_sja1105: consistently fail with arbitrary input (diff) | |
| download | kernel-b820c114eba7e105556429031656918ebdd50ab1.tar.gz kernel-b820c114eba7e105556429031656918ebdd50ab1.zip | |
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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
