]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: dm: fec: Fix time unit error in phy-reset-duration
authorMartin Fuzzey <martin.fuzzey@flowbird.group>
Thu, 4 Oct 2018 17:59:18 +0000 (19:59 +0200)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 24 Oct 2018 19:45:37 +0000 (14:45 -0500)
commit9b8b91888493d25873b835d262b89f1c4efa0df7
treed1d2135ebeadb6263d79ec2c5e6051979e787e0a
parent30a2c8cca80ed71384e5c1ebc4e52695c3db8fff
net: dm: fec: Fix time unit error in phy-reset-duration

The DT binding says that phy-reset-duration is in ms, but the driver
currently uses udelay().

Switch to mdelay() to fix this.

Signed-off-by: Martin Fuzzey <martin.fuzzey@flowbird.group>
Reviewed-by: Michael Trimarchi <michael@amarulasolutions.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/fec_mxc.c