lkml.org 
[lkml]   [2020]   [Apr]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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

\
 
 \ /
  Last update: 2020-04-24 15:54    [W:0.243 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site