android_kernel_xiaomi_sm7250/sound/isa
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
..
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] ad1838/cs4231 - fix MCE timeout upon initial load 2007-10-16 16:49:24 +02:00
cs423x [ALSA] ad1838/cs4231 - fix MCE timeout upon initial load 2007-10-16 16:49:24 +02:00
es1688
gus [ALSA] Clean up with common snd_ctl_boolean_*_info callbacks 2007-10-16 15:57:45 +02:00
opti9xx [ALSA] Clean up with common snd_ctl_boolean_*_info callbacks 2007-10-16 15:57:45 +02:00
sb [ALSA] Allow shared IRQ for CS5530 device 2007-10-16 15:59:32 +02:00
wavefront [ALSA] wavefront - Use standard firmware loader 2007-10-16 15:59:22 +02:00
adlib.c
als100.c
azt2320.c
cmi8330.c [ALSA] Fix probe of non-PnP ISA devices 2007-05-16 12:22:44 +02:00
dt019x.c
es18xx.c [ALSA] add the ESS1879 pnpbios ID to the es18xx driver 2007-10-16 15:58:21 +02:00
Kconfig [ALSA] wavefront - Use standard firmware loader 2007-10-16 15:59:22 +02:00
Makefile
opl3sa2.c [ALSA] Fix bugs in mode change/recalibration for opl3sa2 driver 2007-10-16 15:58:08 +02:00
sgalaxy.c
sscape.c [ALSA] Fix invalid schedule_timeout_interruptible() 2007-07-20 11:11:36 +02:00