summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx18/cx18-mailbox.c
diff options
context:
space:
mode:
authorAndy Walls <awalls@radix.net>2008-11-16 21:15:01 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-30 12:38:08 +0100
commit18b5dc2ed7f0ede825dd1f93fefc7a61aba866e3 (patch)
tree761c2ec7a83df283680636cf264528c2c9ea8cf6 /drivers/media/video/cx18/cx18-mailbox.c
parentV4L/DVB (9720): cx18: Major rewrite of interrupt handling for incoming mailbo... (diff)
downloadlinux-18b5dc2ed7f0ede825dd1f93fefc7a61aba866e3.tar.xz
linux-18b5dc2ed7f0ede825dd1f93fefc7a61aba866e3.zip
V4L/DVB (9721): cx18: Change to singlethreaded global work queue thread for deferable work
Change to singlethreaded global work queue thread for deferable work, instead of the kernel default multithreaded work queue. This ensures execution of deferable work is always in the proper order, so caputred buffers don't get reordered. Signed-off-by: Andy Walls <awalls@radix.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx18/cx18-mailbox.c')
-rw-r--r--drivers/media/video/cx18/cx18-mailbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/cx18/cx18-mailbox.c b/drivers/media/video/cx18/cx18-mailbox.c
index 3d210d2ffdad..d49c7c27c18f 100644
--- a/drivers/media/video/cx18/cx18-mailbox.c
+++ b/drivers/media/video/cx18/cx18-mailbox.c
@@ -409,7 +409,7 @@ void cx18_api_epu_cmd_irq(struct cx18 *cx, int rpu)
*/
submit = epu_cmd_irq(cx, order, stale);
if (submit > 0) {
- schedule_work(&order->work);
+ queue_work(cx18_work_queue, &order->work);
}
}