Files
mt76/mt7921
Sean WangandFelix Fietkau 3d9e13f567 mt76: mt7921s: fix the device cannot sleep deeply in suspend
According to the MT7921S firmware, the cmd MCU_UNI_CMD_HIF_CTRL have to
be last MCU command to execute in suspend handler and all data traffic
have to be stopped before the cmd MCU_UNI_CMD_HIF_CTRL starts as well
in order that mt7921 can successfully fall into the deep sleep mode.

Where we reuse the flag MT76_STATE_SUSPEND and avoid creating
another global flag to stop all of the traffic onto the SDIO bus.

Fixes: 48fab5bbef40 ("mt76: mt7921: introduce mt7921s support")
Reported-by: Leon Yen <[email protected]>
Signed-off-by: Sean Wang <[email protected]>
Signed-off-by: Felix Fietkau <[email protected]>
2021-11-23 13:33:02 +01:00
..
2021-01-29 18:18:44 +01:00
2021-10-23 07:27:06 +02:00
2021-10-19 12:15:59 +02:00
2021-10-19 12:15:59 +02:00
2021-11-23 13:20:47 +01:00
2021-10-19 12:15:59 +02:00