Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: rtl8723bs: hal: Fix codespell-reported spelling mistakes

They are appear to be spelling mistakes,
Initially identified in a codespell report and never been addressed so far.

drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c:656: regsiters ==> registers
drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c:1696: beacause ==> because
drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c:2092: Checl ==> Check
drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c:2513: checksume ==> checksum
drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c:2726: sequense ==> sequence
drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c:2780: vlaue ==> value
drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c:3409: equall ==> equal, equally

Signed-off-by: Anup Sharma <anupnewsmail@gmail.com>
Link: https://lore.kernel.org/r/Y61y+flJp9/jEicc@local
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Anup Sharma and committed by
Greg Kroah-Hartman
6aad66cd 77ca694b

+7 -7
+7 -7
drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c
··· 653 653 654 654 655 655 if (PwrState) { 656 - /* To avoid cannot access efuse regsiters after disable/enable several times during DTM test. */ 656 + /* To avoid cannot access efuse registers after disable/enable several times during DTM test. */ 657 657 /* Suggested by SD1 IsaacHsu. 2013.07.08, added by tynli. */ 658 658 tempval = rtw_read8(padapter, SDIO_LOCAL_BASE|SDIO_REG_HSUS_CTRL); 659 659 if (tempval & BIT(0)) { /* SDIO local register is suspend */ ··· 1693 1693 rtw_write8(padapter, REG_BCNDMATIM, BCN_DMA_ATIME_INT_TIME_8723B); /* 2ms */ 1694 1694 1695 1695 /* Suggested by designer timchen. Change beacon AIFS to the largest number */ 1696 - /* beacause test chip does not contension before sending beacon. by tynli. 2009.11.03 */ 1696 + /* because test chip does not contension before sending beacon. by tynli. 2009.11.03 */ 1697 1697 rtw_write16(padapter, REG_BCNTCFG, 0x660F); 1698 1698 1699 1699 pHalData->RegBcnCtrlVal = rtw_read8(padapter, REG_BCN_CTRL); ··· 2089 2089 u16 EEPROMId; 2090 2090 2091 2091 2092 - /* Checl 0x8129 again for making sure autoload status!! */ 2092 + /* Check 0x8129 again for making sure autoload status!! */ 2093 2093 EEPROMId = le16_to_cpu(*((__le16 *)hwinfo)); 2094 2094 if (EEPROMId != RTL_EEPROM_ID) { 2095 2095 pEEPROM->bautoload_fail_flag = true; ··· 2510 2510 /* Clear first */ 2511 2511 ptxdesc->txdw7 &= cpu_to_le32(0xffff0000); 2512 2512 2513 - /* checksume is always calculated by first 32 bytes, */ 2513 + /* checksum is always calculated by first 32 bytes, */ 2514 2514 /* and it doesn't depend on TX DESC length. */ 2515 2515 /* Thomas, Lucas@SD4, 20130515 */ 2516 2516 count = 16; ··· 2723 2723 * multicast / mgnt frame should be controlled by Hw because Fw 2724 2724 * will also send null data which we cannot control when Fw LPS 2725 2725 * enable. 2726 - * --> default enable non-Qos data sequense number. 2010.06.23. 2726 + * --> default enable non-Qos data sequence number. 2010.06.23. 2727 2727 * by tynli. 2728 2728 * (2) Enable HW SEQ control for beacon packet, because we use 2729 2729 * Hw beacon. ··· 2777 2777 SET_TX_DESC_PKT_SIZE_8723B(pDesc, BufferLen); /* Buffer size + command header */ 2778 2778 SET_TX_DESC_QUEUE_SEL_8723B(pDesc, QSLT_MGNT); /* Fixed queue of Mgnt queue */ 2779 2779 2780 - /* Set NAVUSEHDR to prevent Ps-poll AId filed to be changed to error vlaue by Hw. */ 2780 + /* Set NAVUSEHDR to prevent Ps-poll AId filed to be changed to error value by Hw. */ 2781 2781 if (IsPsPoll) { 2782 2782 SET_TX_DESC_NAV_USE_HDR_8723B(pDesc, 1); 2783 2783 } else { ··· 3406 3406 /* polling bit, and No Write enable, and address */ 3407 3407 ulCommand = CAM_CONTENT_COUNT*ucIndex+i; 3408 3408 ulCommand = ulCommand | CAM_POLLINIG | CAM_WRITE; 3409 - /* write content 0 is equall to mark invalid */ 3409 + /* write content 0 is equal to mark as invalid */ 3410 3410 rtw_write32(padapter, WCAMI, ulContent); /* mdelay(40); */ 3411 3411 rtw_write32(padapter, RWCAM, ulCommand); /* mdelay(40); */ 3412 3412 }