Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a069caa3 authored by Jes Sorensen's avatar Jes Sorensen Committed by Kalle Valo
Browse files

rtl8xxxu: Do not set LDOA15 / LDOV12 on 8192eu



Per the vendor driver, it looks like the 8192eu doesn't have LDOA15 /
LDOV12 registers.

Signed-off-by: default avatarJes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 91cbe4e7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3283,7 +3283,7 @@ static int rtl8xxxu_init_phy_bb(struct rtl8xxxu_priv *priv)
		rtl8xxxu_write32(priv, REG_MAC_PHY_CTRL, val32);
	}

	if (priv->rtl_chip != RTL8723B) {
	if (priv->rtl_chip != RTL8723B && priv->rtl_chip != RTL8192E) {
		ldoa15 = LDOA15_ENABLE | LDOA15_OBUF;
		ldov12d = LDOV12D_ENABLE | BIT(2) | (2 << LDOV12D_VADJ_SHIFT);
		ldohci12 = 0x57;