]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: mscc: serval: Remove delay when serdes is configured
authorHoratiu Vultur <horatiu.vultur@microchip.com>
Thu, 23 May 2019 19:45:33 +0000 (21:45 +0200)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 15 Jul 2019 18:32:25 +0000 (13:32 -0500)
commit149468699e8f631f69d55b5c86b430824fc32d69
treebcf05c5cfa921f1b8ee5485c59f99d0d6ab71b3e
parent2529dea8931849c2bf8ee32963ee846e8e06e390
net: mscc: serval: Remove delay when serdes is configured

When serdes configuration was written in hardware there was a delay
of 100ms to be sure that configuration was written. But the delay is not
needed because already the function serdes_write it is checking that the
operation finished.

Therefore remove the mdelay. This improves the speed of configuring the
network driver.

Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/mscc_eswitch/serval_switch.c