ramips: add missing unlock in fe_phy_link_adjust
[openwrt/staging/wigyori.git] / target / linux / ramips / files-4.14 / drivers / net / ethernet / mtk / mdio.c
index c01055227351c2165536c143cb090ae9ba4a4454..b2a31589bc7afc572ff8a8ef5993909725cfdec7 100644 (file)
@@ -57,6 +57,7 @@ static void fe_phy_link_adjust(struct net_device *dev)
                        }
                }
        }
+       spin_unlock_irqrestore(&priv->phy->lock, flags);
 }
 
 int fe_connect_phy_node(struct fe_priv *priv, struct device_node *phy_node)