summaryrefslogtreecommitdiffstats
path: root/sound/pcmcia
diff options
context:
space:
mode:
authorJia-Ju Bai <baijiaju1990@gmail.com>2018-07-27 11:01:43 +0200
committerTakashi Iwai <tiwai@suse.de>2018-07-27 11:49:16 +0200
commitfad56c895f1f33f9063da558067307b00d44d40d (patch)
tree1201f89e6952680e0e6e59b751a13b3081c66bda /sound/pcmcia
parentALSA:: ctxfi: cthw20k1: Replace mdelay() with msleep() (diff)
downloadlinux-fad56c895f1f33f9063da558067307b00d44d40d.tar.xz
linux-fad56c895f1f33f9063da558067307b00d44d40d.zip
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 'sound/pcmcia')
0 files changed, 0 insertions, 0 deletions