diff options
author | Ivan Safonov <insafonov@gmail.com> | 2015-10-27 11:29:11 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-28 20:09:08 -0400 |
commit | 420a952e4255dfbb5f7fed6d9937aae01d931282 (patch) | |
tree | 90614869b5f024cd722b988b778db83e2565baf2 | |
parent | 5d5efcbddc565f163debc462a65e8ac1f975a5f8 (diff) |
staging: rtl8188eu: checkpatch fixes: line over 80 characters splited into two parts
This is checkpatch fixes for hal/bb_cfg.c file:
line over 80 characters.
Signed-off-by: Ivan Safonov <insafonov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/rtl8188eu/hal/bb_cfg.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/drivers/staging/rtl8188eu/hal/bb_cfg.c b/drivers/staging/rtl8188eu/hal/bb_cfg.c index 82990ed5000f..5ab82778f88d 100644 --- a/drivers/staging/rtl8188eu/hal/bb_cfg.c +++ b/drivers/staging/rtl8188eu/hal/bb_cfg.c | |||
@@ -500,7 +500,8 @@ static u32 array_phy_reg_pg_8188e[] = { | |||
500 | 500 | ||
501 | }; | 501 | }; |
502 | 502 | ||
503 | static void store_pwrindex_offset(struct adapter *Adapter, u32 regaddr, u32 bitmask, u32 data) | 503 | static void store_pwrindex_offset(struct adapter *Adapter, |
504 | u32 regaddr, u32 bitmask, u32 data) | ||
504 | { | 505 | { |
505 | struct hal_data_8188e *hal_data = GET_HAL_DATA(Adapter); | 506 | struct hal_data_8188e *hal_data = GET_HAL_DATA(Adapter); |
506 | u8 pwrGrpCnt = hal_data->pwrGroupCnt; | 507 | u8 pwrGrpCnt = hal_data->pwrGroupCnt; |
@@ -705,18 +706,21 @@ bool rtl88eu_phy_bb_config(struct adapter *adapt) | |||
705 | 706 | ||
706 | /* Enable BB and RF */ | 707 | /* Enable BB and RF */ |
707 | regval = usb_read16(adapt, REG_SYS_FUNC_EN); | 708 | regval = usb_read16(adapt, REG_SYS_FUNC_EN); |
708 | usb_write16(adapt, REG_SYS_FUNC_EN, (u16)(regval | BIT(13) | BIT(0) | BIT(1))); | 709 | usb_write16(adapt, REG_SYS_FUNC_EN, |
710 | (u16)(regval | BIT(13) | BIT(0) | BIT(1))); | ||
709 | 711 | ||
710 | usb_write8(adapt, REG_RF_CTRL, RF_EN | RF_RSTB | RF_SDMRSTB); | 712 | usb_write8(adapt, REG_RF_CTRL, RF_EN | RF_RSTB | RF_SDMRSTB); |
711 | 713 | ||
712 | usb_write8(adapt, REG_SYS_FUNC_EN, FEN_USBA | FEN_USBD | FEN_BB_GLB_RSTn | FEN_BBRSTB); | 714 | usb_write8(adapt, REG_SYS_FUNC_EN, FEN_USBA | |
715 | FEN_USBD | FEN_BB_GLB_RSTn | FEN_BBRSTB); | ||
713 | 716 | ||
714 | /* Config BB and AGC */ | 717 | /* Config BB and AGC */ |
715 | rtstatus = config_parafile(adapt); | 718 | rtstatus = config_parafile(adapt); |
716 | 719 | ||
717 | /* write 0x24[16:11] = 0x24[22:17] = crystal_cap */ | 720 | /* write 0x24[16:11] = 0x24[22:17] = crystal_cap */ |
718 | crystal_cap = hal_data->CrystalCap & 0x3F; | 721 | crystal_cap = hal_data->CrystalCap & 0x3F; |
719 | phy_set_bb_reg(adapt, REG_AFE_XTAL_CTRL, 0x7ff800, (crystal_cap | (crystal_cap << 6))); | 722 | phy_set_bb_reg(adapt, REG_AFE_XTAL_CTRL, 0x7ff800, |
723 | (crystal_cap | (crystal_cap << 6))); | ||
720 | 724 | ||
721 | return rtstatus; | 725 | return rtstatus; |
722 | } | 726 | } |