linux/sound/pci
David Henningsson 32cf4023e6 ALSA: HDA: Lessen CPU usage when waiting for chip to respond
When an IRQ for some reason gets lost, we wait up to a second using
udelay, which is CPU intensive. This patch improves the situation by
waiting about 30 ms in the CPU intensive mode, then stepping down to
using msleep(2) instead. In essence, we trade some granularity in
exchange for less CPU consumption when the waiting time is a bit longer.

As a result, PulseAudio should no longer be killed by the kernel
for taking up to much RT-prio CPU time. At least not for *this* reason.

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Tested-by: Arun Raghavan <arun.raghavan@collabora.co.uk>
Cc: <stable@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2012-05-09 10:22:06 +02:00
..
ac97 ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
ali5451 ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
asihpi ASoC: fixes for 3.4 2012-04-07 12:28:00 +02:00
au88x0 ALSA: au88x0 - Avoid possible Oops at unbinding 2012-03-16 09:54:00 +01:00
aw2 Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
ca0106 ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
cs46xx ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
cs5535audio ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
ctxfi ALSA: ctxfi: Fix typo in ctvmem.c 2012-02-23 18:28:49 +01:00
echoaudio ALSA: echoaudio: Remove incorrect part of assertion 2012-05-06 12:54:20 +02:00
emu10k1 ALSA: emu10k1 - add another Audigy 2 ZS ID 2011-12-31 17:54:58 +01:00
hda ALSA: HDA: Lessen CPU usage when waiting for chip to respond 2012-05-09 10:22:06 +02:00
ice1712 ALSA: ice1724 - constrain runtime rates for locked internal rate 2012-03-05 14:53:58 +01:00
korg1212 ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
lola ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
lx6464es ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
mixart ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
nm256 ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
oxygen ALSA: oxygen, virtuoso: fix exchanged L/R volumes of aux and CD inputs 2012-02-08 09:46:37 +01:00
pcxhr ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
riptide ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
rme9652 ALSA: hdsp - Provide ioctl_compat 2012-05-08 07:27:22 +02:00
trident ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
vx222 ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
ymfpci Merge branch 'topic/misc' into for-linus 2012-03-18 18:22:33 +01:00
ad1889.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
ad1889.h
ak4531_codec.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
als300.c ALSA: Add missing module parameters for als300 and cs5530 drivers 2011-12-19 10:34:44 +01:00
als4000.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
atiixp_modem.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
atiixp.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
azt3328.c ALSA: azt3328 - Fix NULL ptr dereference on cards without OPL3 2012-02-25 19:03:18 +01:00
azt3328.h ALSA: azt3328: fix previous breakage, improve suspend, cleanups 2009-07-15 12:03:26 +02:00
bt87x.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
cmipci.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
cs4281.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
cs5530.c ALSA: Add missing module parameters for als300 and cs5530 drivers 2011-12-19 10:34:44 +01:00
ens1370.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
ens1371.c
es1938.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
es1968.c [media] tea575x-tuner: update to latest V4L2 framework requirements 2012-03-19 11:27:21 -03:00
fm801.c [media] tea575x-tuner: update to latest V4L2 framework requirements 2012-03-19 11:27:21 -03:00
intel8x0.c ALSA: intel8x0: Fix default inaudible sound on Gateway M520 2012-02-14 09:33:47 +01:00
intel8x0m.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
Kconfig ALSA: Fix dependency of CONFIG_SND_TEA575X 2011-08-07 17:54:17 +02:00
maestro3.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
Makefile ALSA: Add the driver for Digigram Lola PCI-e boards 2011-05-03 16:31:05 +02:00
rme32.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
rme96.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
sis7019.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
sis7019.h trivial: fix typos s/paramter/parameter/ and s/excute/execute/ in documentation and source comments. 2009-06-12 18:01:46 +02:00
sonicvibes.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
via82xx_modem.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
via82xx.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00