Skip to content

Commit

Permalink
mt76x2: remove unnecessary MT_TX_ALC_CFG_4 configuration
Browse files Browse the repository at this point in the history
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 <lorenzo.bianconi@redhat.com>
  • Loading branch information
LorenzoBianconi authored and nbd168 committed Apr 9, 2018
1 parent 700ed20 commit 6e7d5ce
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mt76x2_phy.c
Expand Up @@ -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;
Expand Down

0 comments on commit 6e7d5ce

Please sign in to comment.