git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vfs: do bulk POLL* -> EPOLL* replacement
[sfrench/cifs-2.6.git]
/
drivers
/
hid
/
hid-sensor-custom.c
diff --git
a/drivers/hid/hid-sensor-custom.c
b/drivers/hid/hid-sensor-custom.c
index 21ed6c55c40a4ae67b69c0519742a2275eeda5cd..e8a114157f87b81593225469dbb7f838cb450480 100644
(file)
--- a/
drivers/hid/hid-sensor-custom.c
+++ b/
drivers/hid/hid-sensor-custom.c
@@
-714,7
+714,7
@@
static __poll_t hid_sensor_custom_poll(struct file *file,
poll_wait(file, &sensor_inst->wait, wait);
if (!kfifo_is_empty(&sensor_inst->data_fifo))
poll_wait(file, &sensor_inst->wait, wait);
if (!kfifo_is_empty(&sensor_inst->data_fifo))
- mask =
POLLIN |
POLLRDNORM;
+ mask =
EPOLLIN | E
POLLRDNORM;
return mask;
}
return mask;
}