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

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

rtl8xxxu: Use define for REG_PWR_DATA bits



Use the bit define rather than hard code the value for REG_PWR_DATA bits.

Signed-off-by: default avatarJes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 0290e7d0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5996,7 +5996,7 @@ static void rtl8723b_enable_rf(struct rtl8xxxu_priv *priv)
	rtl8xxxu_write8(priv, 0x0067, val8);

	val32 = rtl8xxxu_read32(priv, REG_PWR_DATA);
	val32 |= BIT(11);
	val32 |= PWR_DATA_EEPRPAD_RFE_CTRL_EN;
	rtl8xxxu_write32(priv, REG_PWR_DATA, val32);

	/*
+1 −1

File changed.

Contains only whitespace changes.