summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/uvideo.c
diff options
context:
space:
mode:
authorjakemsr <jakemsr@openbsd.org>2010-07-14 21:24:33 +0000
committerjakemsr <jakemsr@openbsd.org>2010-07-14 21:24:33 +0000
commita256aad22de5890d373a7db23bb9f41cc273d352 (patch)
tree552728731a93fb74a2177ec0595e481baa400b0c /sys/dev/usb/uvideo.c
parentThe append side of a socketbuffer is not allowed to call sbflush(). (diff)
downloadwireguard-openbsd-a256aad22de5890d373a7db23bb9f41cc273d352.tar.xz
wireguard-openbsd-a256aad22de5890d373a7db23bb9f41cc273d352.zip
implement poll() for video(4)
ok mglocker
Diffstat (limited to 'sys/dev/usb/uvideo.c')
-rw-r--r--sys/dev/usb/uvideo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/usb/uvideo.c b/sys/dev/usb/uvideo.c
index 513da57cd15..ba5bd60acbd 100644
--- a/sys/dev/usb/uvideo.c
+++ b/sys/dev/usb/uvideo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvideo.c,v 1.131 2010/04/27 03:38:34 marco Exp $ */
+/* $OpenBSD: uvideo.c,v 1.132 2010/07/14 21:24:33 jakemsr Exp $ */
/*
* Copyright (c) 2008 Robert Nagy <robert@openbsd.org>
@@ -2094,6 +2094,7 @@ uvideo_mmap_queue(struct uvideo_softc *sc, uint8_t *buf, int len)
sc->sc_mmap_cur = 0;
wakeup(sc);
+ sc->sc_uplayer_intr(sc->sc_uplayer_arg);
}
void