diff options
author | Sean Wang <[email protected]> | 2021-12-16 05:25:35 +0800 |
---|---|---|
committer | Felix Fietkau <[email protected]> | 2021-12-19 15:24:04 +0100 |
commit | 5375001bb4ce22801bf3bb566cc3e67d2d3a5dc0 (patch) | |
tree | 27570412569fce384e071dc9e6a264e7ced2721f /tools/perf/scripts/python/powerpc-hcalls.py | |
parent | f2cd4abca01b85312f493c13b9d2a7375c6c760d (diff) |
mt76: mt7921: fix possible resume failure
Fix the possible resume failure due to mt76_connac_mcu_set_hif_suspend
timeout.
That is because clearing the flag pm->suspended too early opened up a race
window, where mt7921_poll_tx/rx scheduled a ps_work to put the device in
doze mode, that is unexpected for the device is being resumed from the
suspend state and would make the remaining MCU comamnds in resume handler
failed to execute.
Fixes: ffa1bf97425b ("mt76: mt7921: introduce PM support")
Co-developed-by: YN Chen <[email protected]>
Signed-off-by: YN Chen <[email protected]>
Signed-off-by: Sean Wang <[email protected]>
Signed-off-by: Felix Fietkau <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions