summaryrefslogtreecommitdiffstats
path: root/sound/usb/mixer_us16x08.c
diff options
context:
space:
mode:
authorJia-Ju Bai <baijiaju1990@gmail.com>2018-07-27 16:55:28 +0800
committerTakashi Iwai <tiwai@suse.de>2018-07-27 11:48:07 +0200
commitdf3f0347fd856272ca9fdbb6e691b7b512b7acb4 (patch)
tree04c6ac57507626815273058742566eb07333f9c9 /sound/usb/mixer_us16x08.c
parent13e9a3edb4b702b701b5a9553b830aa3d2a3e3e9 (diff)
downloadlinux-df3f0347fd856272ca9fdbb6e691b7b512b7acb4.tar.bz2
ALSA: usb-audio: quirks: Replace mdelay() with msleep() and usleep_range()
snd_usb_select_mode_quirk(), snd_usb_set_interface_quirk() and snd_usb_ctl_msg_quirk() are never called in atomic context. They call mdelay() to busily wait, which is not necessary. mdelay() can be replaced with msleep() and usleep_range(). 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: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/mixer_us16x08.c')
0 files changed, 0 insertions, 0 deletions