]> git.ipfire.org Git - people/ms/linux.git/blobdiff - sound/usb/usx2y/us122l.c
vfs: do bulk POLL* -> EPOLL* replacement
[people/ms/linux.git] / sound / usb / usx2y / us122l.c
index e2be10d1711833f3803b5609abe08d60e5fb9065..ebcab5c5465d28dfff6b0fbebc5185b3e8f30001 100644 (file)
@@ -280,7 +280,7 @@ static __poll_t usb_stream_hwdep_poll(struct snd_hwdep *hw,
 
        poll_wait(file, &us122l->sk.sleep, wait);
 
-       mask = POLLIN | POLLOUT | POLLWRNORM | POLLERR;
+       mask = EPOLLIN | EPOLLOUT | EPOLLWRNORM | EPOLLERR;
        if (mutex_trylock(&us122l->mutex)) {
                struct usb_stream *s = us122l->sk.s;
                if (s && s->state == usb_stream_ready) {
@@ -290,7 +290,7 @@ static __poll_t usb_stream_hwdep_poll(struct snd_hwdep *hw,
                                polled = &us122l->second_periods_polled;
                        if (*polled != s->periods_done) {
                                *polled = s->periods_done;
-                               mask = POLLIN | POLLOUT | POLLWRNORM;
+                               mask = EPOLLIN | EPOLLOUT | EPOLLWRNORM;
                        } else
                                mask = 0;
                }