Re: [PATCH net-next v2 6/9] net: phy: add backplane kr driver support

From
Andrew Lunn <andrew@lunn.ch>
Date
2020-04-24 13:53:03
Also in
linux-devicetree, linux-doc, lkml
Reply to
Florinel Iordache, 2020-04-24
+/* Backplane mutex between all KR PHY threads */
+static struct mutex backplane_lock;
quoted hunk ↗ jump to hunk
+/* Read AN Link Status */
+static int is_an_link_up(struct phy_device *phydev)
+{
+	struct backplane_device *bpdev = phydev->priv;
+	int ret, val = 0;
+
+	mutex_lock(&bpdev->bpphy_lock);
Last time i asked the question about how this mutex and the phy mutex
interact. I don't remember seeing an answer.

	  Andrew
Thread (20 messages) 20 messages, 4 authors, last reply 2020-04-25
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help