projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1af8314
)
mt76x2: remove unnecessary MT_TX_ALC_CFG_4 configuration
author
Lorenzo Bianconi
<
[email protected]
>
Tue, 3 Apr 2018 20:30:19 +0000
(22:30 +0200)
committer
Kalle Valo
<
[email protected]
>
Tue, 24 Apr 2018 17:31:41 +0000
(20:31 +0300)
Remove unnecessary MT_TX_ALC_CFG_4 configuration since the register value
will be properly set according to the usage of an external power amplifier
Signed-off-by: Lorenzo Bianconi <
[email protected]
>
Acked-by: Felix Fietkau <
[email protected]
>
Signed-off-by: Kalle Valo <
[email protected]
>
drivers/net/wireless/mediatek/mt76/mt76x2_phy.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/mediatek/mt76/mt76x2_phy.c
b/drivers/net/wireless/mediatek/mt76/mt76x2_phy.c
index a4280a9f69565eabb289b316db4ecbbabe7961df..79c698ada818ec527d5afc7c4550f3fa2ddb3053 100644
(file)
--- a/
drivers/net/wireless/mediatek/mt76/mt76x2_phy.c
+++ b/
drivers/net/wireless/mediatek/mt76/mt76x2_phy.c
@@
-274,7
+274,6
@@
mt76x2_phy_set_txpower_regs(struct mt76x2_dev *dev, enum nl80211_band band)
mt76_wr(dev, MT_TX_ALC_CFG_2, 0x1b0f0400);
mt76_wr(dev, MT_TX_ALC_CFG_3, 0x1b0f0476);
}
- mt76_wr(dev, MT_TX_ALC_CFG_4, 0);
if (mt76x2_ext_pa_enabled(dev, band))
pa_mode_adj = 0x04000000;