Update of /cvsroot/alsa/alsa-kernel/pci/ice1712 In directory sc8-pr-cvs1:/tmp/cvs-serv9901
Modified Files: amp.c Log Message: - fixed a problem with the surround speakers with the AUDIO2000 Envy24HT based board. Index: amp.c =================================================================== RCS file: /cvsroot/alsa/alsa-kernel/pci/ice1712/amp.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- amp.c 3 Dec 2002 17:53:43 -0000 1.1 +++ amp.c 27 Jan 2003 14:02:07 -0000 1.2 @@ -42,6 +42,12 @@ return 0; } +static int __devinit snd_vt1724_amp_add_controls(ice1712_t *ice) +{ + /* we use pins 39 and 41 of the VT1616 for left and right read outputs */ + snd_ac97_write_cache(ice->ac97, 0x5a, snd_ac97_read(ice->ac97, 0x5a) & +~0x8000); +} + /* entry point */ struct snd_ice1712_card_info snd_vt1724_amp_cards[] __devinitdata = { @@ -49,6 +55,7 @@ VT1724_SUBDEVICE_AUDIO2000, "AMP Ltd AUDIO2000", snd_vt1724_amp_init, + snd_vt1724_amp_add_controls, }, { } /* terminator */ }; ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ Alsa-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-cvslog