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

From: Andrew Lunn
Date: Fri Apr 24 2020 - 09:53:04 EST


> +/* Backplane mutex between all KR PHY threads */
> +static struct mutex backplane_lock;


> +/* 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