android_kernel_xiaomi_sm7250/sound/pci/ac97
James C Georgas e4c3bf0f65 [ALSA] Remove AC97 POP control for STAC9708/11
The STAC9708/11 AC97 codecs implement the PCM Out Path & Mute bit in
the General Purpose register (0x20:F), even though they don't implement
the actual function in the mixer.
Since the alsa tests for the function by toggling the bit and reading
it back to see if it changed, it mistakenly creates a useless control.
This patch explicitly removes the control when the codec is an
STAC9708/11.
I put the check in patch_sigmatel_stac9708_specific(), because I have
an SBLive with this chip on it. I don't know if the STAC9758 or other
codecs also behave this way. If they do, then this check could maybe go
in patch_sigmatel_stac97xx_specific(), or some other more general
function.

Signed-off-by: James C Georgas <jgeorgas@rogers.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
2007-02-09 09:02:38 +01:00
..
ac97_codec.c [ALSA] ac97 - Suppress power-saving mode on non-supporting drivers 2007-02-09 09:01:09 +01:00
ac97_id.h
ac97_local.h
ac97_patch.c [ALSA] Remove AC97 POP control for STAC9708/11 2007-02-09 09:02:38 +01:00
ac97_patch.h [ALSA] add codec-specific controls for UCB1400 2006-09-23 10:37:12 +02:00
ac97_pcm.c [ALSA] Add experimental support of aggressive AC97 power-saving mode 2006-09-23 10:37:08 +02:00
ac97_proc.c [ALSA] Fix disconnection of proc interface 2006-09-23 10:36:48 +02:00
ak4531_codec.c [ALSA] Add dB scale information to ak4531 codec 2006-09-23 10:43:01 +02:00
Makefile [PATCH] remove config ordering/dependency between ucb1400-ts and sound subsystem 2006-12-12 10:43:21 -08:00