summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJiayi Ye <yejiayily@gmail.com>2014-10-20 06:04:55 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-10-23 04:20:44 (GMT)
commitc8cb5f2c780a6003fcf76eb3ac1675fbb090ecd8 (patch)
tree836b695baf7a7abe3e54d3284474032caa51fdd2 /drivers
parent2a80f844158b9b5327a159dc9c0fa6b676d2bd9d (diff)
downloadlinux-c8cb5f2c780a6003fcf76eb3ac1675fbb090ecd8.tar.xz
staging: rtl8188eu: core: fixed msleep < 20ms can sleep for up to 20ms warning in rtw_efuse.c
This patch fixes following checkpatch.pl warning: WARNING: msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.txt Signed-off-by: Jiayi Ye <yejiayily@gmail.comi> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/rtl8188eu/core/rtw_efuse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8188eu/core/rtw_efuse.c b/drivers/staging/rtl8188eu/core/rtw_efuse.c
index 7006088..e037c43 100644
--- a/drivers/staging/rtl8188eu/core/rtw_efuse.c
+++ b/drivers/staging/rtl8188eu/core/rtw_efuse.c
@@ -250,7 +250,7 @@ static void efuse_read_phymap_from_txpktbuf(
while (!(reg_0x143 = usb_read8(adapter, REG_TXPKTBUF_DBG)) &&
(passing_time = rtw_get_passing_time_ms(start)) < 1000) {
DBG_88E("%s polling reg_0x143:0x%02x, reg_0x106:0x%02x\n", __func__, reg_0x143, usb_read8(adapter, 0x106));
- msleep(1);
+ usleep_range(1000, 2000);
}
lo32 = usb_read32(adapter, REG_PKTBUF_DBG_DATA_L);