summaryrefslogtreecommitdiff
path: root/drivers/media/usb/hackrf
diff options
context:
space:
mode:
authorJia-Ju Bai <baijiaju1990@gmail.com>2018-07-30 12:24:59 +0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-08-03 02:15:53 +0300
commit7a3369e8a78538e813e96294b8c7fce9feb76e0f (patch)
tree8c64c9991e28eb489541ef97b326b6f461002e9f /drivers/media/usb/hackrf
parent2453e60702e1a4d22720e3b6aac543e1a96fcd6b (diff)
downloadlinux-7a3369e8a78538e813e96294b8c7fce9feb76e0f.tar.xz
media: usb: em28xx: Replace mdelay() with msleep() in em28xx_pre_card_setup()
em28xx_pre_card_setup() is never called in atomic context. It calls mdelay() to busily wait, which is not necessary. mdelay() can be replaced with msleep(). This is found by a static analysis tool named DCNS written by myself. Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/usb/hackrf')
0 files changed, 0 insertions, 0 deletions