commit | dd8695e4e1e39136968339ceed5680327c174a31 | [log] [tgz] |
---|---|---|
author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | Thu Feb 07 06:49:45 2019 -0500 |
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | Mon Feb 18 14:47:04 2019 -0500 |
tree | 64c03f2ea64c11b2d13332cc8863e5bd3ba37185 | |
parent | 398d768025c171245918828b330697f9442d0fc1 [diff] |
media: v4l2-mem2mem: 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_m2m_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>