diff options
| author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2019-02-07 06:49:43 -0500 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-02-18 14:46:20 -0500 |
| commit | 914c68686441c93f6954267dabef6c936ebb479f (patch) | |
| tree | e61319c90b987128ebde9c7af9455a2c20fac8f7 /drivers/media/v4l2-core/v4l2-mem2mem.c | |
| parent | f4dd471b5c368c396e8e03a65fec64bced949639 (diff) | |
media: vb2: 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 vb2_core_poll() and vb2_poll(). Fix this,
otherwise epoll() would timeout when it shouldn't.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Reported-by: Yi Qingliang <niqingliang2003@gmail.com>
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