Merge tag 'drm-fixes-5.5-2019-12-12' of git://people.freedesktop.org/~agd5f/linux...
[linux-2.6-microblaze.git] / drivers / input / misc / uinput.c
index 84051f2..fd25378 100644 (file)
@@ -695,7 +695,7 @@ static __poll_t uinput_poll(struct file *file, poll_table *wait)
        if (udev->head != udev->tail)
                return EPOLLIN | EPOLLRDNORM;
 
-       return 0;
+       return EPOLLOUT | EPOLLWRNORM;
 }
 
 static int uinput_release(struct inode *inode, struct file *file)