]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - sound/core/pcm_native.c
Merge branch 'x86-pti-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
[linux.git] / sound / core / pcm_native.c
index 484a18d963716507785a8f78ba9b34c079cbffa5..51104df924e10928eb8a8628ca1f97e5f0eb91e9 100644 (file)
@@ -3135,12 +3135,12 @@ static ssize_t snd_pcm_writev(struct kiocb *iocb, struct iov_iter *from)
        return result;
 }
 
-static unsigned int snd_pcm_playback_poll(struct file *file, poll_table * wait)
+static __poll_t snd_pcm_playback_poll(struct file *file, poll_table * wait)
 {
        struct snd_pcm_file *pcm_file;
        struct snd_pcm_substream *substream;
        struct snd_pcm_runtime *runtime;
-        unsigned int mask;
+        __poll_t mask;
        snd_pcm_uframes_t avail;
 
        pcm_file = file->private_data;
@@ -3174,12 +3174,12 @@ static unsigned int snd_pcm_playback_poll(struct file *file, poll_table * wait)
        return mask;
 }
 
-static unsigned int snd_pcm_capture_poll(struct file *file, poll_table * wait)
+static __poll_t snd_pcm_capture_poll(struct file *file, poll_table * wait)
 {
        struct snd_pcm_file *pcm_file;
        struct snd_pcm_substream *substream;
        struct snd_pcm_runtime *runtime;
-        unsigned int mask;
+        __poll_t mask;
        snd_pcm_uframes_t avail;
 
        pcm_file = file->private_data;