summaryrefslogtreecommitdiff
path: root/stream.c
diff options
context:
space:
mode:
authorPaul Elder <paul.elder@ideasonboard.com>2018-05-21 23:45:15 +0800
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2018-05-21 21:24:53 +0300
commit545bf1d043af1e79650666f5785cf6e7d413c4e7 (patch)
tree9ebedd59e92f59e2baa31ac4bf7341d4fcbfd0df /stream.c
parent262fce3f7d37646e2d8937a20e2967bbf3c167cf (diff)
events: Remove select timeout
The reason why no timeout is needed is twofold: When the stream is off extensive periods of time can pass without an event occurring if the host doesn't send any UVC request. As that period of time is unbound, we can't set any meaningful timeout. When the stream is on buffers are supposed to flow constantly. If buffers stop flowing that would indicate a bug somewhere in the stack, which could be caught by a timeout, but that we wouldn't be able to recover from anyway. The timeout is thus not needed and harmful when the stream is off. Remove it. Signed-off-by: Paul Elder <paul.elder@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'stream.c')
0 files changed, 0 insertions, 0 deletions