Update of /cvsroot/alsa/alsa-kernel/ppc In directory sc8-pr-cvs1:/tmp/cvs-serv27538
Modified Files: daca.c Log Message: Frank Murphy <[EMAIL PROTECTED]>: fixed left-right balance inversion on powermac DACA. Index: daca.c =================================================================== RCS file: /cvsroot/alsa/alsa-kernel/ppc/daca.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- daca.c 16 Aug 2002 15:08:49 -0000 1.9 +++ daca.c 2 Sep 2003 14:02:34 -0000 1.10 @@ -74,14 +74,14 @@ if (! mix->i2c.client) return -ENODEV; - if (mix->right_vol > DACA_VOL_MAX) + if (mix->left_vol > DACA_VOL_MAX) data[0] = DACA_VOL_MAX; else - data[0] = mix->right_vol; - if (mix->left_vol > DACA_VOL_MAX) + data[0] = mix->left_vol; + if (mix->right_vol > DACA_VOL_MAX) data[1] = DACA_VOL_MAX; else - data[1] = mix->left_vol; + data[1] = mix->right_vol; data[1] |= mix->deemphasis ? 0x40 : 0; if (snd_pmac_keywest_write(&mix->i2c, DACA_REG_AVOL, 2, data) < 0) { snd_printk("failed to set volume \n"); ------------------------------------------------------- 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