]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: zynq_gem: Update the MDC clock divisor in the probe function
authorVenkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Fri, 22 Sep 2023 04:50:10 +0000 (10:20 +0530)
committerMichal Simek <michal.simek@amd.com>
Mon, 9 Oct 2023 08:25:32 +0000 (10:25 +0200)
commitecba4380ad261d25640b71e0d1f53e5261386b6c
tree8b12217890b9b072a8d981c1071c79d69eec358d
parent83aa0ed1e93e1ffac24888d98d37a5b04ed3fb07
net: zynq_gem: Update the MDC clock divisor in the probe function

MDC clock change needs to be done when the driver probe function
is called as mdio is enabled at probe and not when the ethernet starts.
Setup the MDC clock at the probe itself.

Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Link: https://lore.kernel.org/r/20230922045010.22852-1-venkatesh.abbarapu@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
drivers/net/zynq_gem.c