summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorJia-Ju Bai <baijiaju1990@gmail.com>2018-07-27 12:01:43 +0300
committerTakashi Iwai <tiwai@suse.de>2018-07-27 12:49:16 +0300
commitfad56c895f1f33f9063da558067307b00d44d40d (patch)
tree1201f89e6952680e0e6e59b751a13b3081c66bda /scripts/gdb/linux/utils.py
parent08fd8325d94eeddfe49ef8191337e5f54553f6b0 (diff)
downloadlinux-fad56c895f1f33f9063da558067307b00d44d40d.tar.xz
ALSA: ctxfi: cthw20k2: Replace mdelay() with msleep() and usleep_range()
hw_pll_init(), hw_dac_stop(), hw_dac_start() and hw_adc_init() are never called in atomic context. They call 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: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions