Commit d3d98e80 authored by Vinay K. Nallamothu's avatar Vinay K. Nallamothu Committed by Stephen Hemminger

[NET]: Fix 'spin_lock_irqrestore' typos in sk_mca.c

parent ad4da674
......@@ -280,7 +280,7 @@ static void SetLANCE(struct SKMCA_NETDEV *dev, u16 addr, u16 value)
/* reenable interrupts */
spin_lock_irqrestore(&priv->lock, flags);
spin_unlock_irqrestore(&priv->lock, flags);
}
/* get LANCE register */
......@@ -319,7 +319,7 @@ static u16 GetLANCE(struct SKMCA_NETDEV *dev, u16 addr)
/* reenable interrupts */
spin_lock_irqrestore(&priv->lock, flags);
spin_unlock_irqrestore(&priv->lock, flags);
return res;
}
......@@ -993,7 +993,7 @@ static int skmca_tx(struct sk_buff *skb, struct SKMCA_NETDEV *dev)
if (priv->txbusy == 0)
SetLANCE(dev, LANCE_CSR0, CSR0_INEA | CSR0_TDMD);
spin_lock_irqrestore(&priv->lock, flags);
spin_unlock_irqrestore(&priv->lock, flags);
tx_done:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment