Update of /cvsroot/alsa/alsa-kernel/pci/ice1712
In directory sc8-pr-cvs1:/tmp/cvs-serv11579/pci/ice1712
Modified Files:
revo.c
Log Message:
- fixed the reset of AK4355 codec.
the surround sounds on m-audio revo 7.1 should work now.
- write to only the register image instead of i/o writing in
change the clock mode on AK codecs of revo board.
- fixed the non-cleared memory.
Index: revo.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/ice1712/revo.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- revo.c 4 Jun 2003 12:02:22 -0000 1.3
+++ revo.c 11 Sep 2003 09:34:49 -0000 1.4
@@ -69,7 +69,8 @@
tmp = snd_akm4xxx_get(ak, 0, reg);
tmp &= ~(0x03 << shift);
tmp |= dfs << shift;
- snd_akm4xxx_write(ak, 0, reg, tmp);
+ // snd_akm4xxx_write(ak, 0, reg, tmp);
+ snd_akm4xxx_set(ak, 0, reg, tmp); /* the value is written in reset(0) */
snd_akm4xxx_reset(ak, 0);
}
@@ -134,7 +135,7 @@
}
/* second stage of initialization, analog parts and others */
- ak = ice->akm = kmalloc(sizeof(akm4xxx_t) * 2, GFP_KERNEL);
+ ak = ice->akm = snd_kcalloc(sizeof(akm4xxx_t) * 2, GFP_KERNEL);
if (! ak)
return -ENOMEM;
ice->akm_codecs = 2;
-------------------------------------------------------
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