aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/misc/mediatek/connectivity/combo/common/linux/stp_sdio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/misc/mediatek/connectivity/combo/common/linux/stp_sdio.c b/drivers/misc/mediatek/connectivity/combo/common/linux/stp_sdio.c
index 8b488183c..ed06c3f1b 100644
--- a/drivers/misc/mediatek/connectivity/combo/common/linux/stp_sdio.c
+++ b/drivers/misc/mediatek/connectivity/combo/common/linux/stp_sdio.c
@@ -503,13 +503,13 @@ static INT32 stp_sdio_do_own_clr(INT32 wait)
if ((chlcpr_value & C_FW_COM_DRV_OWN) == C_FW_COM_DRV_OWN) {
//4 <2> handle ownership back interrupt
STPSDIO_DBG_FUNC("firmware ownback is polled!(%d)\n", CLR_OWN_RETRY - retry);
- udelay(2000);
+ usleep_range(2000,2000);
break;
} else {
STPSDIO_DBG_FUNC
("firmware ownback is no polled, wait for (%d us) and retry\n",
delay_us);
- udelay(delay_us);
+ usleep_range(delay_us,delay_us);
}
}
while (retry-- > 0);