projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-5.4/hidraw-hiddev-epoll' into for-linus
[platform/kernel/linux-rpi.git]
/
drivers
/
hid
/
usbhid
/
hiddev.c
diff --git
a/drivers/hid/usbhid/hiddev.c
b/drivers/hid/usbhid/hiddev.c
index
4e11cc6
..
1f9bc44
100644
(file)
--- a/
drivers/hid/usbhid/hiddev.c
+++ b/
drivers/hid/usbhid/hiddev.c
@@
-428,7
+428,7
@@
static __poll_t hiddev_poll(struct file *file, poll_table *wait)
poll_wait(file, &list->hiddev->wait, wait);
if (list->head != list->tail)
- return EPOLLIN | EPOLLRDNORM;
+ return EPOLLIN | EPOLLRDNORM
| EPOLLOUT
;
if (!list->hiddev->exist)
return EPOLLERR | EPOLLHUP;
return 0;