mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-21 21:34:58 +08:00
rtlwifi: btcoex: 21a 2ant: fix some coding style issues
Fix some ident and naming for linux coding style. Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com> Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Cc: Pkshih <pkshih@realtek.com> Cc: Birming Chiu <birming@realtek.com> Cc: Shaofu <shaofu@realtek.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
parent
70a8adef71
commit
f0557cf062
@ -3512,8 +3512,7 @@ static void btc8821a2ant_run_coexist_mechanism(struct btc_coexist *btcoexist)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
btcoexist->btc_get(btcoexist,
|
btcoexist->btc_get(btcoexist, BTC_GET_BL_WIFI_UNDER_5G, &wifi_under_5g);
|
||||||
BTC_GET_BL_WIFI_UNDER_5G, &wifi_under_5g);
|
|
||||||
|
|
||||||
if (wifi_under_5g) {
|
if (wifi_under_5g) {
|
||||||
RT_TRACE(rtlpriv, COMP_BT_COEXIST, DBG_LOUD,
|
RT_TRACE(rtlpriv, COMP_BT_COEXIST, DBG_LOUD,
|
||||||
@ -3637,7 +3636,7 @@ void ex_btc8821a2ant_init_hwconfig(struct btc_coexist *btcoexist)
|
|||||||
|
|
||||||
/* Enable counter statistics */
|
/* Enable counter statistics */
|
||||||
/* 0x76e[3] = 1, WLAN_Act control by PTA */
|
/* 0x76e[3] = 1, WLAN_Act control by PTA */
|
||||||
btcoexist->btc_write_1byte(btcoexist, 0x76e, 0xc);
|
btcoexist->btc_write_1byte(btcoexist, 0x76e, 0x4);
|
||||||
btcoexist->btc_write_1byte(btcoexist, 0x778, 0x3);
|
btcoexist->btc_write_1byte(btcoexist, 0x778, 0x3);
|
||||||
btcoexist->btc_write_1byte_bitmask(btcoexist, 0x40, 0x20, 0x1);
|
btcoexist->btc_write_1byte_bitmask(btcoexist, 0x40, 0x20, 0x1);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user