Index: polyp/pcm_polyp.c =================================================================== RCS file: /cvsroot/alsa/alsa-plugins/polyp/pcm_polyp.c,v retrieving revision 1.2 diff -u -r1.2 pcm_polyp.c --- polyp/pcm_polyp.c 22 Feb 2006 15:38:52 -0000 1.2 +++ polyp/pcm_polyp.c 7 Mar 2006 17:17:43 -0000 @@ -314,9 +314,9 @@ */ if (pcm->last_size >= pcm->buffer_attr.minreq) { if (io->stream == SND_PCM_STREAM_PLAYBACK) - *revents |= POLLIN; - else *revents |= POLLOUT; + else + *revents |= POLLIN; } return 0;