mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-29 08:12:41 -04:00
staging: rtl8723au: odm_CommonInfoSelfInit23a(): Use proper register defines
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
62b0d72b3c
commit
36cf7c75af
@@ -463,8 +463,10 @@ void ODM_CmnInfoUpdate23a(struct dm_odm_t *pDM_Odm, u32 CmnInfo, u64 Value)
|
||||
void odm_CommonInfoSelfInit23a(struct dm_odm_t *pDM_Odm
|
||||
)
|
||||
{
|
||||
pDM_Odm->bCckHighPower = (bool) ODM_GetBBReg(pDM_Odm, 0x824, BIT(9));
|
||||
pDM_Odm->RFPathRxEnable = (u8) ODM_GetBBReg(pDM_Odm, 0xc04, 0x0F);
|
||||
pDM_Odm->bCckHighPower =
|
||||
(bool) ODM_GetBBReg(pDM_Odm, rFPGA0_XA_HSSIParameter2, BIT(9));
|
||||
pDM_Odm->RFPathRxEnable =
|
||||
(u8) ODM_GetBBReg(pDM_Odm, rOFDM0_TRxPathEnable, 0x0F);
|
||||
if (pDM_Odm->SupportICType & ODM_RTL8723A)
|
||||
pDM_Odm->AntDivType = CGCS_RX_SW_ANTDIV;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user