summaryrefslogtreecommitdiffstats
path: root/LICENSES/deprecated
diff options
context:
space:
mode:
authorSean Wang <sean.wang@mediatek.com>2021-11-20 00:22:11 +0100
committerFelix Fietkau <nbd@nbd.name>2021-12-19 15:24:00 +0100
commit5ad4faca7690a88b4529238c757b6b8ead8056ec (patch)
tree797716d5c4374ac5ca21547e167a70dade5c5ecb /LICENSES/deprecated
parentmt76: mt7921: move mt76_connac_mcu_set_hif_suspend to bus-related files (diff)
downloadlinux-5ad4faca7690a88b4529238c757b6b8ead8056ec.tar.xz
linux-5ad4faca7690a88b4529238c757b6b8ead8056ec.zip
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 <leon.yen@mediatek.com> Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'LICENSES/deprecated')
0 files changed, 0 insertions, 0 deletions