Update of /cvsroot/alsa/alsa-kernel/pci
In directory sc8-pr-cvs1:/tmp/cvs-serv8976

Modified Files:
        via82xx.c 
Log Message:
removed the hack for ALC650.  it's controlled via pcm_hook.



Index: via82xx.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/via82xx.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- via82xx.c   25 Feb 2003 12:35:44 -0000      1.31
+++ via82xx.c   25 Feb 2003 16:54:29 -0000      1.32
@@ -910,25 +910,6 @@
        snd_via82xx_channel_reset(chip, viadev);
        snd_via82xx_set_table_ptr(chip, viadev);
 
-       /* FIXME: a more generic solutions would be better */
-       if (chip->chip_type == TYPE_VIA8233A) {
-               /* VIA8233A cannot change the slot mapping, so we need
-                * to swap the RL/RR with C/L.
-                */
-#define AC97_ID_ALC650         0x414c4720
-
-               if (chip->ac97->id == AC97_ID_ALC650) {
-                       unsigned short val;
-                       if (runtime->channels > 4)
-                               /* slot mapping: 3,4,7,8 */
-                               val = 0;
-                       else
-                               /* slot mapping: 3,4,6,9,7,8 */
-                               val = 0x4000;
-                       snd_ac97_update_bits(chip->ac97, AC97_ALC650_MULTICH, 0xc000, 
val);
-               }
-       }
-
        fmt = (runtime->format == SNDRV_PCM_FORMAT_S16_LE) ? 
VIA_REG_MULTPLAY_FMT_16BIT : VIA_REG_MULTPLAY_FMT_8BIT;
        fmt |= runtime->channels << 4;
        outb(fmt, VIADEV_REG(viadev, OFS_MULTPLAY_FORMAT));



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to