diff options
| author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2019-02-07 06:49:44 -0500 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-02-18 14:46:42 -0500 |
| commit | 398d768025c171245918828b330697f9442d0fc1 (patch) | |
| tree | c4d8ae40711388c0f9cc5a4a73e66a432b55a1a9 /drivers/media/v4l2-core/v4l2-mem2mem.c | |
| parent | 914c68686441c93f6954267dabef6c936ebb479f (diff) | |
media: v4l2-ctrls.c: fix epoll() by calling poll_wait first
The epoll function expects that whenever the poll file op is
called, the poll_wait function is also called. That didn't
always happen in v4l2_ctrl_poll(). Fix this, otherwise epoll()
would timeout when it shouldn't.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-mem2mem.c')
0 files changed, 0 insertions, 0 deletions