summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/utvfu.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused getdev() audio driver functions.ratchov2016-09-191-22/+1
|
* Remove drain(), query_encoding(), mappage() and get_default_params()ratchov2016-09-141-48/+2
| | | | | methods from all audio drivers and from the audio_if structure as they are never called.
* Replace tsleep/wakeup by usbd_ref_incr/decr/wait to wait for the kthreadmglocker2016-06-171-3/+4
| | | | | | | | to finish on close. Tested and ok Patrick Keshishian ok mpi
* Remove tracking of endpoints in utvfu_{as,vs}_iface structs as thesemglocker2016-06-131-26/+26
| | | | | | | | are constants; save two more ints. From Patrick Keshishian ok mpi
* Ensure expected video endpoint has wMaxPacketSize > 0 duringmglocker2016-06-131-4/+12
| | | | | | | | utvfu_match(). From Patrick Keshishian ok mpi
* * Start/stop audio bulk thread as consumer opens/closes device.mglocker2016-06-131-39/+41
| | | | | | | | | | And as a result get rid of a few defines/flags. * Fix _as_close() to and audio bulk thread exit. * Change sc->sc_as_running into a flag; save an int. From Patrick Keshishian ok mpi
* Fix typo in comment.mglocker2016-06-021-2/+2
| | | | From Lubomir Rintel via Patrick Keshish
* Not all architectures implicitly #include <sys/device.h> via earlierderaadt2016-06-011-1/+2
| | | | | includes (yes, that is a bug, but the tree should compile now. In particular: sparc64
* New USB device driver for Audio/Video capture devices based on themglocker2016-06-011-0/+2104
Fushicai USBTV007 chip. The chip specific code has been written by Lubomir Rintel and Federico Simoncelli. Patrick Keshishian has ported it to OpenBSD and wrote the remaining code based on uvideo(4). Input and help also from mpi@ and ratchov@. ok mpi