Update of /cvsroot/alsa/alsa-kernel/core/oss
In directory usw-pr-cvs1:/tmp/cvs-serv3306/core/oss

Modified Files:
        mixer_oss.c 
Log Message:
Kernel sync with changes from David S. Miller <[EMAIL PROTECTED]>
   - Driver for AMD7930 sound chips found on Sparcs
   - Driver for CS4231 sound chips found on Sparcs


Index: mixer_oss.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/core/oss/mixer_oss.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- mixer_oss.c 13 Sep 2002 10:23:21 -0000      1.11
+++ mixer_oss.c 30 Sep 2002 21:42:53 -0000      1.12
@@ -341,14 +341,14 @@
                        return put_user(tmp, (int *)arg) ? -EFAULT : 0;
                }
        }
-       if (cmd & IOC_IN) {
+       if (cmd & SIOC_IN) {
                if (get_user(tmp, (int *)arg))
                        return -EFAULT;
                tmp = snd_mixer_oss_set_volume(fmixer, cmd & 0xff, tmp);
                if (tmp < 0)
                        return tmp;
                return put_user(tmp, (int *)arg) ? -EFAULT : 0;
-       } else if (cmd & IOC_OUT) {
+       } else if (cmd & SIOC_OUT) {
                tmp = snd_mixer_oss_get_volume(fmixer, cmd & 0xff);
                if (tmp < 0)
                        return tmp;



-------------------------------------------------------
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