mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2025-12-07 14:53:41 +00:00
Remove wrapper rtw_mdelay_os()
This wrapper just calls mdelay(). Remove it. Link: https://lore.kernel.org/r/20210805192644.15978-3-Larry.Finger@lwfinger.net
This commit is contained in:
committed by
Carlos Garcés
parent
5bc12edecb
commit
7f8451a86e
@@ -41,15 +41,15 @@ int platform_wifi_power_on(void)
|
||||
/* Pull up BT reset pin. */
|
||||
rtw_wifi_gpio_wlan_ctrl(WLAN_BT_PWDN_ON);
|
||||
#endif
|
||||
rtw_mdelay_os(5);
|
||||
mdelay(5);
|
||||
|
||||
sdhci_bus_scan();
|
||||
#ifdef CONFIG_RTL8723B
|
||||
/* YJ,test,130305 */
|
||||
rtw_mdelay_os(1000);
|
||||
mdelay(1000);
|
||||
#endif
|
||||
#ifdef ANDROID_2X
|
||||
rtw_mdelay_os(200);
|
||||
mdelay(200);
|
||||
#else /* !ANDROID_2X */
|
||||
if (1) {
|
||||
int i = 0;
|
||||
@@ -70,7 +70,7 @@ void platform_wifi_power_off(void)
|
||||
{
|
||||
/* Pull down pwd pin, make wifi enter power down mode. */
|
||||
rtw_wifi_gpio_wlan_ctrl(WLAN_PWDN_OFF);
|
||||
rtw_mdelay_os(5);
|
||||
mdelay(5);
|
||||
rtw_wifi_gpio_deinit();
|
||||
|
||||
#ifdef CONFIG_RTL8188E
|
||||
|
||||
Reference in New Issue
Block a user