diff options
author | Brandon Philips <brandon@ifup.org> | 2008-04-02 11:10:57 -0700 |
---|---|---|
committer | Brandon Philips <brandon@ifup.org> | 2008-04-02 11:10:57 -0700 |
commit | 98eb0e3f7a086e3eae0736d229b3f8791f194c76 (patch) | |
tree | a8ef80e7794aad9adae2ad7aee9bf9de83687a61 /linux/drivers/media/video | |
parent | 4b455c2ad8e39901902e05f4ced044d714d4c7e1 (diff) | |
download | mediapointer-dvb-s2-98eb0e3f7a086e3eae0736d229b3f8791f194c76.tar.gz mediapointer-dvb-s2-98eb0e3f7a086e3eae0736d229b3f8791f194c76.tar.bz2 |
videobuf: Wakeup queues after changing the state to ERROR
The waitqueues must be woken up every time state changes.
Signed-off-by: Brandon Philips <bphilips@suse.de>
---
linux/drivers/media/video/videobuf-core.c | 1 +
1 file changed, 1 insertion(+)
Diffstat (limited to 'linux/drivers/media/video')
-rw-r--r-- | linux/drivers/media/video/videobuf-core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drivers/media/video/videobuf-core.c b/linux/drivers/media/video/videobuf-core.c index 164963aa2..ec94e9adb 100644 --- a/linux/drivers/media/video/videobuf-core.c +++ b/linux/drivers/media/video/videobuf-core.c @@ -205,6 +205,7 @@ void videobuf_queue_cancel(struct videobuf_queue *q) if (q->bufs[i]->state == VIDEOBUF_QUEUED) { list_del(&q->bufs[i]->queue); q->bufs[i]->state = VIDEOBUF_ERROR; + wake_up_all(&q->bufs[i]->done); } } if (q->irqlock) |