CVSROOT:        /cvs
Module name:    src
Changes by:     mgloc...@cvs.openbsd.org        2016/06/01 06:58:59

Modified files:
        sys/dev/usb    : uvideo.c 

Log message:
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

Reply via email to