OpenCloudOS-Kernel/sound/pci/ctxfi
Jia-Ju Bai fad56c895f 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>
2018-07-27 11:49:16 +02:00
..
Makefile ALSA: ctxfi - Use native timer interrupt on emu20k1 2009-06-05 16:44:13 +02:00
ct20k1reg.h ALSA: ctxfi: ct20k1reg: Fix typo in include guard 2014-08-22 11:24:57 +02:00
ct20k2reg.h ALSA: ctxfi: Add support for Creative Titanium HD 2011-06-14 07:32:29 +02:00
ctamixer.c ALSA: ctxfi: constify rsc ops structures 2015-11-11 08:40:56 +01:00
ctamixer.h ALSA: ctxfi: constify rsc ops structures 2015-11-11 08:40:56 +01:00
ctatc.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
ctatc.h ALSA: ctxfi: changed void * to struct hw * 2014-09-30 10:34:29 +02:00
ctdaio.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
ctdaio.h ALSA: ctxfi: constify rsc ops structures 2015-11-11 08:40:56 +01:00
cthardware.c ALSA: ctxfi: Use WARN_ON() instead of BUG_ON() 2013-11-06 08:34:49 +01:00
cthardware.h ALSA: ctxfi: added reference of snd_card 2014-09-30 10:35:48 +02:00
cthw20k1.c ALSA:: ctxfi: cthw20k1: Replace mdelay() with msleep() 2018-07-27 11:48:50 +02:00
cthw20k1.h
cthw20k2.c ALSA: ctxfi: cthw20k2: Replace mdelay() with msleep() and usleep_range() 2018-07-27 11:49:16 +02:00
cthw20k2.h
ctimap.c ALSA: ctxfi - Remove useless initializations and cast 2009-06-08 14:57:57 +02:00
ctimap.h
ctmixer.c ALSA: ctxfi: use enum type CT_SUM_CTL where appropriate 2018-06-18 17:40:18 +02:00
ctmixer.h ALSA: PCI: Replace CONFIG_PM with CONFIG_PM_SLEEP 2012-08-14 18:12:04 +02:00
ctpcm.c ALSA: ctxfi: Use common error handling code in two functions 2017-08-22 19:43:29 +02:00
ctpcm.h
ctresource.c ALSA: ctxfi: Remove null check before kfree 2017-08-31 20:10:30 +02:00
ctresource.h ALSA: ctxfi: constify rsc ops structures 2015-11-11 08:40:56 +01:00
ctsrc.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
ctsrc.h ALSA: ctxfi: constify rsc ops structures 2015-11-11 08:40:56 +01:00
cttimer.c sound: Use octal not symbolic permissions 2018-05-28 11:27:20 +02:00
cttimer.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ctvmem.c ALSA: squash lines for simple wrapper functions 2016-09-07 20:35:29 +02:00
ctvmem.h ALSA: ctxfi: Bump playback substreams to 256 2011-08-24 10:39:44 +02:00
xfi.c sound: Use octal not symbolic permissions 2018-05-28 11:27:20 +02:00