projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58bdd54
)
net: phy: dp83867: add soft reset delay
author
Max Uvarov
<muvarov@gmail.com>
Mon, 25 Feb 2019 09:15:10 +0000
(12:15 +0300)
committer
David S. Miller
<davem@davemloft.net>
Thu, 28 Feb 2019 05:25:45 +0000
(21:25 -0800)
Similar to dp83640 delay after soft reset
is needed to set up registers correctly.
Signed-off-by: Max Uvarov <muvarov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/dp83867.c
patch
|
blob
|
history
diff --git
a/drivers/net/phy/dp83867.c
b/drivers/net/phy/dp83867.c
index
da6a67d
..
56fa360
100644
(file)
--- a/
drivers/net/phy/dp83867.c
+++ b/
drivers/net/phy/dp83867.c
@@
-19,6
+19,7
@@
#include <linux/module.h>
#include <linux/of.h>
#include <linux/phy.h>
+#include <linux/delay.h>
#include <dt-bindings/net/ti-dp83867.h>
@@
-325,6
+326,8
@@
static int dp83867_phy_reset(struct phy_device *phydev)
if (err < 0)
return err;
+ usleep_range(10, 20);
+
return dp83867_config_init(phydev);
}