summaryrefslogtreecommitdiff
path: root/9c2afb04a0883b1888b983773b9e22f89ca1b74c
diff options
context:
space:
mode:
authorPaul Elder <paul.elder@ideasonboard.com>2018-05-21 23:45:17 +0800
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2018-05-21 21:27:39 +0300
commit349679083d1f1053ee79cc933e0e41c48ce05fb9 (patch)
treeb38a26dd0023624de0f4beea56d6fcf627d15900 /9c2afb04a0883b1888b983773b9e22f89ca1b74c
parent702526917b38d832788fd737ff9e6d5fa8f83fc5 (diff)
uvc-gadget: Dynamically watch/unwatch uvc device fd
When the uvc device fd is put on the watch list statically, then there are many "Unable to dequeue buffer: Invalid argument (22)." because the V4L2 API returns write events immediately when the stream is off. To fix this, add the fd to the watch list on streamon, and remove it on streamoff. Signed-off-by: Paul Elder <paul.elder@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to '9c2afb04a0883b1888b983773b9e22f89ca1b74c')
0 files changed, 0 insertions, 0 deletions