diff options
author | 2022-08-24 14:33:11 +0800 | |
---|---|---|
committer | 2022-09-02 11:37:03 +0300 | |
commit | b7e715d3dcd2e9fa3a689ba0dd7ab85f8aaf6e9a (patch) | |
tree | 343a022d48f0b1781ebc73cab26fdfcbde741587 /drivers/net/dsa/microchip | |
parent | wifi: rtw89: enlarge the CFO tracking boundary (diff) | |
download | linux-dev-b7e715d3dcd2e9fa3a689ba0dd7ab85f8aaf6e9a.tar.xz linux-dev-b7e715d3dcd2e9fa3a689ba0dd7ab85f8aaf6e9a.zip |
wifi: rtw89: pci: fix interrupt stuck after leaving low power mode
We turn off interrupt in ISR, and re-enable interrupt in threadfn or
napi_poll according to the mode it stays. If we are turning off interrupt,
rtwpci->running flag is unset and interrupt handler stop processing even
if it was called, so disallow to re-enable interrupt in this situation.
Or, wifi chip doesn't trigger interrupt events anymore because interrupt
status (ISR) isn't clear by interrupt handler anymore.
Fixes: c83dcd0508e2 ("rtw89: pci: add a separate interrupt handler for low power mode")
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220824063312.15784-1-pkshih@realtek.com
Diffstat (limited to 'drivers/net/dsa/microchip')
0 files changed, 0 insertions, 0 deletions