alistair23-linux/sound
Trent Piepho fe1b5e874d [ALSA] ad1848: simplify MCE down code
The polling loop to check for ACI to go down was more convoluted than it
needed to be.  New loop should be more efficient and it is a lot simpler.  The
old loop checked for a timeout before checking for ACI down, which could
result in an erroneous timeout.  It's only a failure if the timeout expires
_and_ ACI is still high.  There is nothing wrong with the timeout expiring
while the task is sleeping if ACI went low.
A polling loop to check for the device to leaving INIT mode is removed.  The
device must have already left init for the previous ACI loop to have finished.
Acked-by: Rene Herman <rene.herman@gmail.com>

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
2007-10-16 16:50:59 +02:00
..
aoa [ALSA] Clean up with common snd_ctl_boolean_*_info callbacks 2007-10-16 15:57:45 +02:00
arm [ALSA] Get rid of dead code in sound/arm/sa11xx-uda1341.c 2007-10-16 15:58:24 +02:00
core [ALSA] schedule_timeout() fix for core/seq/seq_instr.c 2007-10-16 16:50:55 +02:00
drivers [ALSA] Clean up Makefile 2007-10-16 15:58:05 +02:00
i2c [ALSA] Clean up Makefile 2007-10-16 15:58:05 +02:00
isa [ALSA] ad1848: simplify MCE down code 2007-10-16 16:50:59 +02:00
mips
oss DDB5477: remove driver bits of support 2007-07-31 15:39:38 -07:00
parisc
pci [ALSA] ac97: YMF743 missing controls support (2/2) 2007-10-16 16:50:57 +02:00
pcmcia [ALSA] Clean up with common snd_ctl_boolean_*_info callbacks 2007-10-16 15:57:45 +02:00
ppc [ALSA] pcm: add snd_pcm_rate_to_rate_bit() helper 2007-10-16 15:58:54 +02:00
sh [ALSA] Clean up with common snd_ctl_boolean_*_info callbacks 2007-10-16 15:57:45 +02:00
soc [ALSA] alsa-kernel: schedule_timeout() fixes 2007-10-16 16:50:54 +02:00
sparc [ALSA] sun-cs4231: checkpatch fixes 2007-10-16 16:49:18 +02:00
spi [ALSA] ALSA sound driver for the AT73C213 DAC using Atmel SSC driver 2007-10-16 15:57:50 +02:00
synth [ALSA] sound/synth/util_mem.c: remove pointless check 2007-10-16 15:58:15 +02:00
usb [ALSA] caiaq - support for Native Instrument's RigKontrol3 2007-10-16 16:50:46 +02:00
ac97_bus.c
Kconfig [ALSA] Add SPI devices to ALSA Kconfig and Makefile 2007-10-16 15:57:47 +02:00
last.c
Makefile [ALSA] Add SPI devices to ALSA Kconfig and Makefile 2007-10-16 15:57:47 +02:00
sound_core.c
sound_firmware.c Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00