rtl8xxxu: Do not mess with AFE_XTAL_CTRL on 8192eu

To match the vendor driver, do not mess with AFE_XTAL_CTRL on 8192eu.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
Jes Sorensen 2016-04-07 14:19:17 -04:00 committed by Kalle Valo
parent c606e662a5
commit 2ca73dc786
1 changed files with 1 additions and 1 deletions

View File

@ -3208,7 +3208,7 @@ static int rtl8xxxu_init_phy_bb(struct rtl8xxxu_priv *priv)
rtl8xxxu_write16(priv, REG_SYS_FUNC, val16);
}
if (priv->rtl_chip != RTL8723B) {
if (priv->rtl_chip != RTL8723B && priv->rtl_chip != RTL8192E) {
/* AFE_XTAL_RF_GATE (bit 14) if addressing as 32 bit register */
val32 = rtl8xxxu_read32(priv, REG_AFE_XTAL_CTRL);
val32 &= ~AFE_XTAL_RF_GATE;