linux-stable/sound/isa/cs423x
Rene Herman 90cf9b8532 [ALSA] ad1838/cs4231 - fix MCE timeout upon initial load
When the ad1848/cs2431 is first being initialized, auto-calibration may not
be set causing a timeout waiting for it in snd_ad1848/cs4231_mce_down().
This has no dire consequences other than an alarming printk, but since what
we need to wait for is for the calibration to _finish_, let's just check for
that instead.
The early chips need a slight delay (as commented -- 5 sample periods) to be
sure that _if_ calibration is going to happen, it has started when we check
While the CS4231A datasheet implies it'll happen immediately on downing MCE,
some testing is showing that there's a window there as well, so just do the
delay everywhere.
Thanks to Krysztof Helt for pinpointing this problem.

Signed-off-by: Rene Herman <rene.herman@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
2007-10-16 16:49:24 +02:00
..
cs4231.c [ALSA] isa_bus: cs4231 2007-05-11 16:55:38 +02:00
cs4231_lib.c [ALSA] ad1838/cs4231 - fix MCE timeout upon initial load 2007-10-16 16:49:24 +02:00
cs4232.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cs4236.c [ALSA] Fix probe of non-PnP ISA devices 2007-05-16 12:22:44 +02:00
cs4236_lib.c [ALSA] cs4236 - Fix a typo 2006-03-22 10:31:37 +01:00
Makefile [ALSA] isa libs Makefiles cleanup 2007-10-16 15:58:38 +02:00