diff options
author | Lorenzo Bianconi <[email protected]> | 2021-12-21 14:57:09 +0100 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2021-12-22 19:53:52 +0200 |
commit | d430dffbe9dd30759f3c64b65bf85b0245c8d8ab (patch) | |
tree | e180fbe88b3c5d621f9cc52750306f0a8cb0ce09 /net/unix/sysctl_net_unix.c | |
parent | f31ee3c0a5552f80cce12f11594df360adf302e0 (diff) |
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 <[email protected]>
Tested-by: Deren Wu <[email protected]>
Fixes: 1d8efc741df8 ("mt76: mt7921: introduce Runtime PM support")
Signed-off-by: Lorenzo Bianconi <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/0f3e075a2033dc05f09dab4059e5be8cbdccc239.1640094847.git.lorenzo@kernel.org
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions