Skip to content

Commit 1879d30

Browse files
R Veera Kumargregkh
authored andcommitted
staging: rtl8723bs: hal: Correct typos in comments
Correct typos in comments. Misspellings found using checkpatch.pl. Signed-off-by: R Veera Kumar <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 8fd1e02 commit 1879d30

File tree

10 files changed

+13
-13
lines changed

10 files changed

+13
-13
lines changed

drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1807,7 +1807,7 @@ static void halbtc8723b1ant_TdmaDurationAdjustForAcl(
18071807
result = 0;
18081808
WaitCount = 0;
18091809
} else {
1810-
/* accquire the BT TRx retry count from BT_Info byte2 */
1810+
/* acquire the BT TRx retry count from BT_Info byte2 */
18111811
retryCount = pCoexSta->btRetryCnt;
18121812
btInfoExt = pCoexSta->btInfoExt;
18131813
/* BTC_PRINT(BTC_MSG_ALGORITHM, ALGO_TRACE_FW_DETAIL, ("[BTCoex], retryCount = %d\n", retryCount)); */

drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1646,7 +1646,7 @@ static void halbtc8723b2ant_TdmaDurationAdjust(
16461646
result = 0;
16471647
WaitCount = 0;
16481648
} else {
1649-
/* accquire the BT TRx retry count from BT_Info byte2 */
1649+
/* acquire the BT TRx retry count from BT_Info byte2 */
16501650
retryCount = pCoexSta->btRetryCnt;
16511651
BTC_PRINT(BTC_MSG_ALGORITHM, ALGO_TRACE_FW_DETAIL, ("[BTCoex], retryCount = %d\n", retryCount));
16521652
BTC_PRINT(

drivers/staging/rtl8723bs/hal/HalPhyRf.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ void ODM_TXPowerTrackingCallback_ThermalMeter(struct adapter *Adapter)
9292
u8 *deltaSwingTableIdx_TUP_B;
9393
u8 *deltaSwingTableIdx_TDOWN_B;
9494

95-
/* 4 2. Initilization (7 steps in total) */
95+
/* 4 2. Initialization (7 steps in total) */
9696

9797
ConfigureTxpowerTrack(pDM_Odm, &c);
9898

@@ -213,7 +213,7 @@ void ODM_TXPowerTrackingCallback_ThermalMeter(struct adapter *Adapter)
213213

214214
/* 3 7. If necessary, move the index of swing table to adjust Tx power. */
215215
if (delta > 0 && pDM_Odm->RFCalibrateInfo.TxPowerTrackControl) {
216-
/* delta" here is used to record the absolute value of differrence. */
216+
/* delta" here is used to record the absolute value of difference. */
217217
delta =
218218
ThermalValue > pHalData->EEPROMThermalMeter ?
219219
(ThermalValue - pHalData->EEPROMThermalMeter) :

drivers/staging/rtl8723bs/hal/HalPwrSeqCmd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ u8 HalPwrSeqCmdParsing(
118118
&GET_PWR_CFG_MASK(PwrCfgCmd)
119119
);
120120

121-
/* Write the value back to sytem register */
121+
/* Write the value back to system register */
122122
rtw_write8(padapter, offset, value);
123123
}
124124
break;

drivers/staging/rtl8723bs/hal/hal_intf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ void rtw_hal_dm_watchdog_in_lps(struct adapter *padapter)
365365
{
366366
if (adapter_to_pwrctl(padapter)->bFwCurrentInPSMode == true) {
367367
if (padapter->HalFunc.hal_dm_watchdog_in_lps)
368-
padapter->HalFunc.hal_dm_watchdog_in_lps(padapter); /* this fuction caller is in interrupt context */
368+
padapter->HalFunc.hal_dm_watchdog_in_lps(padapter); /* this function caller is in interrupt context */
369369
}
370370
}
371371

drivers/staging/rtl8723bs/hal/odm_HWConfig.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ static void odm_RxPhyStatus92CSeries_Parsing(
103103
pDM_Odm->PhyDbgInfo.NumQryPhyStatusCCK++;
104104
/* */
105105
/* (1)Hardware does not provide RSSI for CCK */
106-
/* (2)PWDB, Average PWDB cacluated by hardware (for rate adaptive) */
106+
/* (2)PWDB, Average PWDB calculated by hardware (for rate adaptive) */
107107
/* */
108108

109109
cck_agc_rpt = pPhyStaRpt->cck_agc_rpt_ofdm_cfosho_a;
@@ -178,7 +178,7 @@ static void odm_RxPhyStatus92CSeries_Parsing(
178178

179179

180180
/* */
181-
/* (2)PWDB, Average PWDB cacluated by hardware (for rate adaptive) */
181+
/* (2)PWDB, Average PWDB calculated by hardware (for rate adaptive) */
182182
/* */
183183
rx_pwr_all = (((pPhyStaRpt->cck_sig_qual_ofdm_pwdb_all) >> 1)&0x7f)-110;
184184

drivers/staging/rtl8723bs/hal/odm_debug.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
/* Define the debug levels */
1414
/* */
1515
/* 1. DBG_TRACE and DBG_LOUD are used for normal cases. */
16-
/* So that, they can help SW engineer to develope or trace states changed */
16+
/* So that, they can help SW engineer to developed or trace states changed */
1717
/* and also help HW enginner to trace every operation to and from HW, */
1818
/* e.g IO, Tx, Rx. */
1919
/* */
@@ -34,7 +34,7 @@
3434
#define ODM_DBG_SERIOUS 2
3535

3636
/* */
37-
/* Abnormal, rare, or unexpeted cases. */
37+
/* Abnormal, rare, or unexpected cases. */
3838
/* For example, */
3939
/* IRP/Packet/OID canceled, */
4040
/* device suprisely unremoved and so on. */

drivers/staging/rtl8723bs/hal/odm_types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ typedef enum _HAL_STATUS {
2828

2929

3030
/* */
31-
/* Declare for ODM spin lock defintion temporarily fro compile pass. */
31+
/* Declare for ODM spin lock definition temporarily from compile pass. */
3232
/* */
3333
typedef enum _RT_SPINLOCK_TYPE {
3434
RT_TX_SPINLOCK = 1,

drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ static inline union recv_frame *try_alloc_recvframe(struct recv_priv *precvpriv,
192192
rtw_enqueue_recvbuf_to_head(precvbuf,
193193
&precvpriv->recv_buf_pending_queue);
194194

195-
/* The case of can't allocte recvframe should be temporary, */
195+
/* The case of can't allocate recvframe should be temporary, */
196196
/* schedule again and hope recvframe is available next time. */
197197
tasklet_schedule(&precvpriv->recv_tasklet);
198198
}

drivers/staging/rtl8723bs/hal/sdio_halinit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ static void _InitQueueReservedPage(struct adapter *padapter)
235235
if (pHalData->OutEpQueueSel & TX_SELE_LQ)
236236
numLQ = bWiFiConfig ? WMM_NORMAL_PAGE_NUM_LPQ_8723B : NORMAL_PAGE_NUM_LPQ_8723B;
237237

238-
/* NOTE: This step shall be proceed before writting REG_RQPN. */
238+
/* NOTE: This step shall be proceed before writing REG_RQPN. */
239239
if (pHalData->OutEpQueueSel & TX_SELE_NQ)
240240
numNQ = bWiFiConfig ? WMM_NORMAL_PAGE_NUM_NPQ_8723B : NORMAL_PAGE_NUM_NPQ_8723B;
241241

0 commit comments

Comments
 (0)