diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2021-12-21 14:57:09 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2021-12-22 19:53:52 +0200 |
commit | d430dffbe9dd30759f3c64b65bf85b0245c8d8ab (patch) | |
tree | e180fbe88b3c5d621f9cc52750306f0a8cb0ce09 /net | |
parent | f31ee3c0a5552f80cce12f11594df360adf302e0 (diff) | |
download | linux-d430dffbe9dd30759f3c64b65bf85b0245c8d8ab.tar.bz2 |
mt76: mt7921: fix a possible race enabling/disabling runtime-pm
Fix a possible race enabling/disabling runtime-pm between
mt7921_pm_set() and mt7921_poll_rx() since mt7921_pm_wake_work()
always schedules rx-napi callback and it will trigger
mt7921_pm_power_save_work routine putting chip to in low-power state
during mt7921_pm_set processing.
Suggested-by: Deren Wu <deren.wu@mediatek.com>
Tested-by: Deren Wu <deren.wu@mediatek.com>
Fixes: 1d8efc741df8 ("mt76: mt7921: introduce Runtime PM support")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/0f3e075a2033dc05f09dab4059e5be8cbdccc239.1640094847.git.lorenzo@kernel.org
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions