Lorenzo Bianconi <lorenzo@xxxxxxxxxx> wrote: > 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@xxxxxxxxxxxx> > Tested-by: Deren Wu <deren.wu@xxxxxxxxxxxx> > Fixes: 1d8efc741df8 ("mt76: mt7921: introduce Runtime PM support") > Signed-off-by: Lorenzo Bianconi <lorenzo@xxxxxxxxxx> Patch applied to wireless-drivers-next.git, thanks. d430dffbe9dd mt76: mt7921: fix a possible race enabling/disabling runtime-pm -- https://patchwork.kernel.org/project/linux-wireless/patch/0f3e075a2033dc05f09dab4059e5be8cbdccc239.1640094847.git.lorenzo@xxxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches