mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-14 04:26:45 +00:00
rtw89: ser: re-enable interrupt in threadfn if under_recovery
Normally, we re-enable interrupt by napi_poll, but for this special situation, we must turn it on immediately because napi_poll isn't scheduled. Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20220421120903.73715-6-pkshih@realtek.com
This commit is contained in:
parent
c83dcd0508
commit
98816def19
1 changed files with 1 additions and 1 deletions
|
@ -743,7 +743,7 @@ static irqreturn_t rtw89_pci_interrupt_threadfn(int irq, void *dev)
|
|||
rtw89_ser_notify(rtwdev, rtw89_mac_get_err_status(rtwdev));
|
||||
|
||||
if (unlikely(rtwpci->under_recovery))
|
||||
return IRQ_HANDLED;
|
||||
goto enable_intr;
|
||||
|
||||
if (unlikely(rtwpci->low_power)) {
|
||||
rtw89_pci_low_power_interrupt_handler(rtwdev);
|
||||
|
|
Loading…
Reference in a new issue