diff options
author | Marcus Glocker <mglocker@cvs.openbsd.org> | 2016-06-01 12:59:00 +0000 |
---|---|---|
committer | Marcus Glocker <mglocker@cvs.openbsd.org> | 2016-06-01 12:59:00 +0000 |
commit | f3328c6a852a0a63c10445147689150e1c1fe6df (patch) | |
tree | 094f525bb9e60b154aa75d456091fb8372d28b49 /sys/dev/usb/umsm.c | |
parent | 6badca1713e0e9ae990b6e3b1b9b4c77a79e29cf (diff) |
Correctly set the V4L2_BUF_FLAG_QUEUED and V4L2_BUF_FLAG_DONE buffer flags.
With this we can get rid of the sc_mmap_cur variable to query the buffer
queue for a free slot.
Remove resetting of the V4L2_BUF_FLAG_MAPPED buffer flag while here. It's
enough when it gets set initially by uvideo_reqbufs().
Initial diff from Patrick Keshishian, thanks!
ok mpi
Diffstat (limited to 'sys/dev/usb/umsm.c')
0 files changed, 0 insertions, 0 deletions