linux/drivers/staging/rtl8192u
Jia-Ju Bai 6c93c63a63 staging: rtl8192u: Replace mdelay with usleep_range in rtl8192_usb_disconnect
rtl8192_usb_disconnect() is never called in atomic context.

rtl8192_usb_disconnect() is only set as ".disconnect" in
struct usb_driver.

Despite never getting called from atomic context,
rtl8192_usb_disconnect() calls mdelay() to busily wait.
This is not necessary and can be replaced with usleep_range() to
avoid busy waiting.

This is found by a static analysis tool named DCNS written by myself.
And I also manually check it.

Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-04-23 15:51:34 +02:00
..
ieee80211 staging: rtl8192u: Replace GFP_ATOMIC with GFP_KERNEL in ieee80211_softmac_init 2018-04-23 15:51:34 +02:00
authors
changes
copying
Kconfig Staging: rtl8192u: kconfig: Remove blank help text 2018-02-02 23:53:10 +09:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
r819xU_cmdpkt.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
r819xU_cmdpkt.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
r819xU_firmware_img.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
r819xU_firmware_img.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
r819xU_firmware.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
r819xU_firmware.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
r819xU_phy.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
r819xU_phy.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
r819xU_phyreg.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
r8180_93cx6.c
r8180_93cx6.h
r8190_rtl8256.c
r8190_rtl8256.h
r8192U_core.c staging: rtl8192u: Replace mdelay with usleep_range in rtl8192_usb_disconnect 2018-04-23 15:51:34 +02:00
r8192U_dm.c Staging/IIO patches for 4.15-rc1 2017-11-13 20:53:28 -08:00
r8192U_dm.h Staging/IIO patches for 4.15-rc1 2017-11-13 20:53:28 -08:00
r8192U_hw.h staging: rtl8192u: Fix braces placement and spacing 2017-07-16 08:41:02 +02:00
r8192U_wx.c staging: rtl8192u: make r8192_wx_handlers_def structure const 2017-10-03 18:34:57 +02:00
r8192U_wx.h staging: rtl8192u: make r8192_wx_handlers_def structure const 2017-10-03 18:34:57 +02:00
r8192U.h