diff options
author | Felix Fietkau <nbd@nbd.name> | 2018-04-14 19:48:58 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2018-04-14 20:12:32 +0200 |
commit | ceff5d8c82df077cd01b5aaf2db45f7b9f9c918d (patch) | |
tree | a329a993da2075060f9e6dbb6ac80ab904472049 /target/linux/ramips/files-4.14/drivers/net/ethernet/mtk | |
parent | d13c7acd9e34c5d64a03d8860752b4d75a6b906e (diff) | |
download | upstream-ceff5d8c82df077cd01b5aaf2db45f7b9f9c918d.tar.gz upstream-ceff5d8c82df077cd01b5aaf2db45f7b9f9c918d.tar.bz2 upstream-ceff5d8c82df077cd01b5aaf2db45f7b9f9c918d.zip |
ramips: add missing unlock in fe_phy_link_adjust
Based on patch by Neil Brown
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/ramips/files-4.14/drivers/net/ethernet/mtk')
-rw-r--r-- | target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/mdio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/mdio.c b/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/mdio.c index c010552273..b2a31589bc 100644 --- a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/mdio.c +++ b/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/mdio.c @@ -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) |