]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ALSA] WM9713 modem detection
authorLiam Girdwood <liam.girdwood@wolfsonmicro.com>
Fri, 5 Aug 2005 08:25:08 +0000 (10:25 +0200)
committerJaroslav Kysela <perex@suse.cz>
Tue, 30 Aug 2005 06:44:19 +0000 (08:44 +0200)
AC97 Codec
This patch fixes a problem whereby the WM9713 has modem functionality
incorrectly detected after an AC97 cold reset.

Changes:-

  o Cleared AC97_SCAP_MODEM in wm9713 scaps

Signed-off-by: Liam Girdwood <liam.girdwood@wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ac97/ac97_patch.c

index 00fb519924603d34ab3e2f6546819ee56fdf0a93..a51b61d5066b926be9356becbf9634e729002550 100644 (file)
@@ -786,6 +786,7 @@ int patch_wolfson13(ac97_t * ac97)
        ac97->flags |= AC97_HAS_NO_REC_GAIN | AC97_STEREO_MUTES | AC97_HAS_NO_PHONE |
                AC97_HAS_NO_PC_BEEP | AC97_HAS_NO_VIDEO | AC97_HAS_NO_CD | AC97_HAS_NO_TONE |
                AC97_HAS_NO_STD_PCM;
+       ac97->scaps &= ~AC97_SCAP_MODEM;
 
        snd_ac97_write_cache(ac97, AC97_EXTENDED_MID, 0xda00);
        snd_ac97_write_cache(ac97, AC97_EXTENDED_MSTATUS, 0x3810);