tree 80882406068c9890ecc29d7aa16ab8e64aac3111
parent 4a677ac5d0a4fad286cdfb4890a5e2de61534b1c
author Liam Girdwood <[EMAIL PROTECTED]> Fri, 05 Aug 2005 10:25:08 +0200
committer Jaroslav Kysela <[EMAIL PROTECTED]> Tue, 30 Aug 2005 08:44:19 +0200

[ALSA] WM9713 modem detection

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 <[EMAIL PROTECTED]>
Signed-off-by: Takashi Iwai <[EMAIL PROTECTED]>

 sound/pci/ac97/ac97_patch.c |    1 +
 1 files changed, 1 insertion(+)

diff --git a/sound/pci/ac97/ac97_patch.c b/sound/pci/ac97/ac97_patch.c
--- a/sound/pci/ac97/ac97_patch.c
+++ b/sound/pci/ac97/ac97_patch.c
@@ -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);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to