]> rtime.felk.cvut.cz Git - zynq/linux.git/blobdiff - sound/core/seq/seq_clientmgr.c
vfs: do bulk POLL* -> EPOLL* replacement
[zynq/linux.git] / sound / core / seq / seq_clientmgr.c
index b611deef81f5b719a6fd97aeaf75fcd53e38f74c..60db32785f6229773fdf752a93e01f7bf42398eb 100644 (file)
@@ -1101,7 +1101,7 @@ static __poll_t snd_seq_poll(struct file *file, poll_table * wait)
 
                /* check if data is available in the outqueue */
                if (snd_seq_fifo_poll_wait(client->data.user.fifo, file, wait))
-                       mask |= POLLIN | POLLRDNORM;
+                       mask |= EPOLLIN | EPOLLRDNORM;
        }
 
        if (snd_seq_file_flags(file) & SNDRV_SEQ_LFLG_OUTPUT) {
@@ -1109,7 +1109,7 @@ static __poll_t snd_seq_poll(struct file *file, poll_table * wait)
                /* check if data is available in the pool */
                if (!snd_seq_write_pool_allocated(client) ||
                    snd_seq_pool_poll_wait(client->pool, file, wait))
-                       mask |= POLLOUT | POLLWRNORM;
+                       mask |= EPOLLOUT | EPOLLWRNORM;
        }
 
        return mask;