mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-06-23 08:34:20 +00:00
rtl8188eu: Convert spin lock macros
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
9fe0c17a65
commit
8b76b3b701
19 changed files with 324 additions and 487 deletions
|
@ -186,7 +186,7 @@ _func_enter_;
|
|||
goto exit;
|
||||
}
|
||||
|
||||
_enter_critical(&pxmitpriv->lock, &irqL);
|
||||
spin_lock_irqsave(&pxmitpriv->lock, irqL);
|
||||
|
||||
switch (addr) {
|
||||
case VO_QUEUE_INX:
|
||||
|
@ -213,7 +213,7 @@ _func_enter_;
|
|||
break;
|
||||
}
|
||||
|
||||
_exit_critical(&pxmitpriv->lock, &irqL);
|
||||
spin_unlock_irqrestore(&pxmitpriv->lock, irqL);
|
||||
|
||||
purb = pxmitbuf->pxmit_urb[0];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue