]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: rtl8723au: Remove zero value calculation added to address
authorJes Sorensen <Jes.Sorensen@redhat.com>
Sun, 13 Jul 2014 07:32:04 +0000 (09:32 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Jul 2014 19:14:31 +0000 (12:14 -0700)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/hal/odm_RegConfig8723A.c

index 8f883d933174098052bd9cf26727396980c39cc6..70b7168aca7f14ec1088febe9846002070d35752 100644 (file)
@@ -43,30 +43,16 @@ odm_ConfigRFReg_8723A(
        }
 }
 
-void odm_ConfigRF_RadioA_8723A(struct dm_odm_t *pDM_Odm,
-       u32                                     Addr,
-       u32                                     Data
-       )
+void odm_ConfigRF_RadioA_8723A(struct dm_odm_t *pDM_Odm, u32 Addr, u32 Data)
 {
-       u32  content = 0x1000; /*  RF_Content: radioa_txt */
-       u32     maskforPhySet = (u32)(content&0xE000);
-
-       odm_ConfigRFReg_8723A(pDM_Odm, Addr, Data, RF_PATH_A,
-                             Addr|maskforPhySet);
+       odm_ConfigRFReg_8723A(pDM_Odm, Addr, Data, RF_PATH_A, Addr);
        ODM_RT_TRACE(pDM_Odm, ODM_COMP_INIT, ODM_DBG_LOUD,
                     ("===> %s: [RadioA] %08X %08X\n", __func__, Addr, Data));
 }
 
-void odm_ConfigRF_RadioB_8723A(struct dm_odm_t *pDM_Odm,
-       u32                                     Addr,
-       u32                                     Data
-       )
+void odm_ConfigRF_RadioB_8723A(struct dm_odm_t *pDM_Odm, u32 Addr, u32 Data)
 {
-       u32  content = 0x1001; /*  RF_Content: radiob_txt */
-       u32     maskforPhySet = (u32)(content&0xE000);
-
-       odm_ConfigRFReg_8723A(pDM_Odm, Addr, Data, RF_PATH_B,
-                             Addr|maskforPhySet);
+       odm_ConfigRFReg_8723A(pDM_Odm, Addr, Data, RF_PATH_B, Addr);
        ODM_RT_TRACE(pDM_Odm, ODM_COMP_INIT, ODM_DBG_LOUD,
                     ("===> %s: [RadioB] %08X %08X\n", __func__, Addr, Data));
 }