Skip to content
Commit b820c114 authored by Joakim Zhang's avatar Joakim Zhang Committed by Jakub Kicinski
Browse files

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: fc539459 ("net: fec: add MAC internal delayed clock feature support")
Signed-off-by: default avatarJoakim Zhang <qiangqing.zhang@nxp.com>
Link: https://lore.kernel.org/r/20210803052424.19008-1-qiangqing.zhang@nxp.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 421297ef
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment