[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200424135254.GD1087366@lunn.ch>
Date: Fri, 24 Apr 2020 15:52:54 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Florinel Iordache <florinel.iordache@....com>
Cc: davem@...emloft.net, netdev@...r.kernel.org, f.fainelli@...il.com,
hkallweit1@...il.com, linux@...linux.org.uk,
devicetree@...r.kernel.org, linux-doc@...r.kernel.org,
robh+dt@...nel.org, mark.rutland@....com, kuba@...nel.org,
corbet@....net, shawnguo@...nel.org, leoyang.li@....com,
madalin.bucur@....nxp.com, ioana.ciornei@....com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next v2 6/9] net: phy: add backplane kr driver support
> +/* 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
Powered by blists - more mailing lists