commit | bb436cbeb918740638278217c241d81a306c1bc3 | [log] [tgz] |
---|---|---|
author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | Thu Feb 07 06:49:47 2019 -0500 |
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | Mon Feb 18 14:48:13 2019 -0500 |
tree | 3a1246dc7aeae31aba2f7415ec4caf0ab277d746 | |
parent | 96ebc0ca6f6d0978b1a016e6daa29817a812ce55 [diff] |
media: videobuf: 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 videobuf_poll_stream(). 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>