diff options
author | 2018-07-27 17:01:43 +0800 | |
---|---|---|
committer | 2018-07-27 11:49:16 +0200 | |
commit | fad56c895f1f33f9063da558067307b00d44d40d (patch) | |
tree | 1201f89e6952680e0e6e59b751a13b3081c66bda /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ALSA:: ctxfi: cthw20k1: Replace mdelay() with msleep() (diff) | |
download | wireguard-linux-fad56c895f1f33f9063da558067307b00d44d40d.tar.xz wireguard-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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions