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

Modified Files:
        fm801.c 
Log Message:
fixed typos in playback_trigger for pause/release.



Index: fm801.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/fm801.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- fm801.c     18 Dec 2002 14:28:58 -0000      1.26
+++ fm801.c     19 Dec 2002 11:21:14 -0000      1.27
@@ -326,10 +326,10 @@
                chip->ply_ctrl &= ~(FM801_START | FM801_PAUSE);
                break;
        case SNDRV_PCM_TRIGGER_PAUSE_PUSH:
-               chip->cap_ctrl |= FM801_PAUSE;
+               chip->ply_ctrl |= FM801_PAUSE;
                break;
        case SNDRV_PCM_TRIGGER_PAUSE_RELEASE:
-               chip->cap_ctrl &= ~FM801_PAUSE;
+               chip->ply_ctrl &= ~FM801_PAUSE;
                break;
        default:
                spin_unlock(&chip->reg_lock);
@@ -337,6 +337,7 @@
                return -EINVAL;
        }
        outw(chip->ply_ctrl, FM801_REG(chip, PLY_CTRL));
+       snd_printk(KERN_DEBUG "prepare: PLY_CTRL=0x%x\n", chip->ply_ctrl);
        spin_unlock(&chip->reg_lock);
        return 0;
 }



-------------------------------------------------------
This SF.NET email is sponsored by: Geek Gift Procrastinating?
Get the perfect geek gift now!  Before the Holidays pass you by.
T H I N K G E E K . C O M      http://www.thinkgeek.com/sf/
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to