aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/mt7621-eth/mdio.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/mt7621-eth/mdio.c')
-rw-r--r--drivers/staging/mt7621-eth/mdio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/mt7621-eth/mdio.c b/drivers/staging/mt7621-eth/mdio.c
index 9d713078ef90..c6db11aad9e4 100644
--- a/drivers/staging/mt7621-eth/mdio.c
+++ b/drivers/staging/mt7621-eth/mdio.c
@@ -57,6 +57,7 @@ static void mtk_phy_link_adjust(struct net_device *dev)
}
}
}
+ spin_unlock_irqrestore(&eth->phy->lock, flags);
}
int mtk_connect_phy_node(struct mtk_eth *eth, struct mtk_mac *mac,