projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1bd7bb
)
mt76: mt7921: mt7921_stop should put device in fw_own state
author
Sean Wang
<sean.wang@mediatek.com>
Wed, 21 Apr 2021 10:43:51 +0000
(12:43 +0200)
committer
Felix Fietkau
<nbd@nbd.name>
Wed, 21 Apr 2021 18:55:55 +0000
(20:55 +0200)
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>
drivers/net/wireless/mediatek/mt76/mt76_connac_mac.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/mediatek/mt76/mt76_connac_mac.c
b/drivers/net/wireless/mediatek/mt76/mt76_connac_mac.c
index
b32f26c
..
6f180c9
100644
(file)
--- a/
drivers/net/wireless/mediatek/mt76/mt76_connac_mac.c
+++ b/
drivers/net/wireless/mediatek/mt76/mt76_connac_mac.c
@@
-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;