mt76x2: remove unnecessary MT_TX_ALC_CFG_4 configuration
Subsystems (2)
PATCH v2 1/1 mt76x2: remove unnecessary MT_TX_ALC_CFG_4 configuration
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
---
Changes since v1:
- remove first initialization in order to have the writes to that register grouped together in the same if/else chunk
--- drivers/net/wireless/mediatek/mt76/mt76x2_phy.c | 1 - 1 file changed, 1 deletion(-)
drivers/net/wireless/mediatek/mt76/mt76x2_phy.c +0 -1
@@ -257,7 +257,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 ;
Signature · 1 line
2.16.3
Quoted 4 lines · Lorenzo Bianconi
Remove unnecessary
MT_TX_ALC_CFG_4configuration since the register value will be properly set according to the usage of an external power amplifierSigned-off-by Lorenzo Bianconi <[email protected]>
Quoted 5 lines · Lorenzo Bianconi
Remove unnecessary
MT_TX_ALC_CFG_4configuration since the register value will be properly set according to the usage of an external power amplifierSigned-off-by Lorenzo Bianconi <[email protected]>Acked-by Felix Fietkau <[email protected]>
Patch applied to wireless-drivers-next.git, thanks.
cf7b411dcea8 mt76x2: remove unnecessary MT_TX_ALC_CFG_4 configuration
Signature · 3 lines
https://patchwork.kernel.org/patch/10321735/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches