mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2025-12-08 07:14:03 +00:00
Remove rtw_yield_os()
This wrapper is just a call to yield(). Link: https://lore.kernel.org/r/20210805192644.15978-1-Larry.Finger@lwfinger.net
This commit is contained in:
committed by
Carlos Garcés
parent
f1aa80a838
commit
1fcfef2e07
@@ -353,7 +353,7 @@ void rtl8192e_download_rsvd_page(PADAPTER padapter, u8 mstatus)
|
||||
rtw_hal_set_fw_rsvd_page(padapter, _FALSE);
|
||||
DLBcnCount++;
|
||||
do {
|
||||
rtw_yield_os();
|
||||
yield();
|
||||
/* rtw_mdelay_os(10); */
|
||||
/* check rsvd page download OK. */
|
||||
rtw_hal_get_hwreg(padapter, HW_VAR_BCN_VALID, (u8 *)(&bcn_valid));
|
||||
|
||||
@@ -395,7 +395,7 @@ static s32 polling_fwdl_chksum(_adapter *adapter, u32 min_cnt, u32 timeout_ms)
|
||||
value32 = rtw_read32(adapter, REG_MCUFWDL);
|
||||
if (value32 & FWDL_ChkSum_rpt || RTW_CANNOT_IO(adapter))
|
||||
break;
|
||||
rtw_yield_os();
|
||||
yield();
|
||||
} while (rtw_get_passing_time_ms(start) < timeout_ms || cnt < min_cnt);
|
||||
|
||||
if (!(value32 & FWDL_ChkSum_rpt))
|
||||
@@ -433,7 +433,7 @@ static s32 _FWFreeToGo8192E(_adapter *adapter, u32 min_cnt, u32 timeout_ms)
|
||||
value32 = rtw_read32(adapter, REG_MCUFWDL);
|
||||
if (value32 & WINTINI_RDY || RTW_CANNOT_IO(adapter))
|
||||
break;
|
||||
rtw_yield_os();
|
||||
yield();
|
||||
} while (rtw_get_passing_time_ms(start) < timeout_ms || cnt < min_cnt);
|
||||
|
||||
if (!(value32 & WINTINI_RDY))
|
||||
|
||||
Reference in New Issue
Block a user