android_kernel_sony_msm8994/sound/isa
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
..
ad1816a [ALSA] remove incorrect usage of SNDRV_PCM_INFO_SYNC_START and snd_pcm_set_sync() 2007-10-16 15:58:52 +02:00
ad1848 [ALSA] ad1848: simplify MCE down code 2007-10-16 16:50:59 +02:00
cs423x [ALSA] cs4231-lib: improved waiting after mce_down 2007-10-16 16:49:29 +02:00
es1688 [ALSA] es1688 - code clean-up 2007-05-11 16:55:39 +02:00
gus [ALSA] Clean up with common snd_ctl_boolean_*_info callbacks 2007-10-16 15:57:45 +02:00
opti9xx [ALSA] opti9xx: adjust OPL3 FM resource value 2007-10-16 16:50:49 +02:00
sb [ALSA] Allow shared IRQ for CS5530 device 2007-10-16 15:59:32 +02:00
wavefront [ALSA] alsa-kernel: schedule_timeout() fixes 2007-10-16 16:50:54 +02:00
adlib.c [ALSA] isa_bus: adlib 2007-05-11 16:55:38 +02:00
als100.c [PATCH] irq-flags: sound: Use the new IRQF_ constants 2006-07-02 13:58:54 -07:00
azt2320.c [PATCH] irq-flags: sound: Use the new IRQF_ constants 2006-07-02 13:58:54 -07:00
cmi8330.c [ALSA] Fix probe of non-PnP ISA devices 2007-05-16 12:22:44 +02:00
dt019x.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
es18xx.c [ALSA] add the ESS1879 pnpbios ID to the es18xx driver 2007-10-16 15:58:21 +02:00
Kconfig [ALSA] SC6000 driver - add HAS_IOPORT dependency 2007-10-16 16:50:24 +02:00
Makefile [ALSA] Gallant SC-6000 driver 2007-10-16 16:50:21 +02:00
opl3sa2.c [ALSA] Fix bugs in mode change/recalibration for opl3sa2 driver 2007-10-16 15:58:08 +02:00
sc6000.c [ALSA] sc6000: 2 minor fixes 2007-10-16 16:50:45 +02:00
sgalaxy.c [ALSA] isa_bus device/driver naming 2007-05-11 16:55:50 +02:00
sscape.c [ALSA] alsa-kernel: schedule_timeout() fixes 2007-10-16 16:50:54 +02:00