commit | df3f0347fd856272ca9fdbb6e691b7b512b7acb4 | [log] [tgz] |
---|---|---|
author | Jia-Ju Bai <baijiaju1990@gmail.com> | Fri Jul 27 16:55:28 2018 +0800 |
committer | Takashi Iwai <tiwai@suse.de> | Fri Jul 27 11:48:07 2018 +0200 |
tree | 04c6ac57507626815273058742566eb07333f9c9 | |
parent | 13e9a3edb4b702b701b5a9553b830aa3d2a3e3e9 [diff] |
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>