mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-04 02:02:28 +09:00
mt76: mt7921: mt7921_stop should put device in fw_own state
mt7921_stop should put device in fw_own state to reduce power consumption. Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
@@ -37,7 +37,7 @@ void mt76_connac_power_save_sched(struct mt76_phy *phy,
|
||||
if (!mt76_is_mmio(dev))
|
||||
return;
|
||||
|
||||
if (!pm->enable || !test_bit(MT76_STATE_RUNNING, &phy->state))
|
||||
if (!pm->enable)
|
||||
return;
|
||||
|
||||
pm->last_activity = jiffies;
|
||||
|
||||
Reference in New Issue
Block a user