Re: [PATCH 15/17] staging: rtl8723au: Eliminate ODM_GetBBReg()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 05, 2015 at 02:24:48PM -0500, Jes.Sorensen@xxxxxxxxxx wrote:
> From: Jes Sorensen <Jes.Sorensen@xxxxxxxxxx>
> 
> Signed-off-by: Jes Sorensen <Jes.Sorensen@xxxxxxxxxx>
> ---
>  drivers/staging/rtl8723au/hal/odm.c               | 28 ++++++++++++++---------
>  drivers/staging/rtl8723au/hal/odm_interface.c     | 11 ---------
>  drivers/staging/rtl8723au/include/odm_interface.h |  1 -
>  3 files changed, 17 insertions(+), 23 deletions(-)
> 
> diff --git a/drivers/staging/rtl8723au/hal/odm.c b/drivers/staging/rtl8723au/hal/odm.c
> index 8493d45..32d0732 100644
> --- a/drivers/staging/rtl8723au/hal/odm.c
> +++ b/drivers/staging/rtl8723au/hal/odm.c
> @@ -379,13 +379,18 @@ void ODM_CmnInfoUpdate23a(struct dm_odm_t *pDM_Odm, u32 CmnInfo, u64 Value)
>  
>  }
>  
> -void odm_CommonInfoSelfInit23a(struct dm_odm_t *pDM_Odm
> -	)
> +void odm_CommonInfoSelfInit23a(struct dm_odm_t *pDM_Odm)
>  {
> -	pDM_Odm->bCckHighPower =
> -		(bool) ODM_GetBBReg(pDM_Odm, rFPGA0_XA_HSSIParameter2, BIT(9));
> +	u32 val32;
> +
> +	val32 = rtl8723au_read32(pDM_Odm->Adapter, rFPGA0_XA_HSSIParameter2);
> +	if (val32 & BIT(9))
> +		pDM_Odm->bCckHighPower = true;
> +	else
> +		pDM_Odm->bCckHighPower = false;
> +		

You added trailing whitespace :(

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux