aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx18/cx18-mailbox.c
diff options
context:
space:
mode:
authorAndy Walls <awalls@radix.net>2008-11-16 17:15:01 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-30 09:38:08 -0200
commit18b5dc2ed7f0ede825dd1f93fefc7a61aba866e3 (patch)
tree761c2ec7a83df283680636cf264528c2c9ea8cf6 /drivers/media/video/cx18/cx18-mailbox.c
parentee2d64f5ccc71b5c5191e92ea91a12b65f9ca060 (diff)
downloadkernel_samsung_smdk4412-18b5dc2ed7f0ede825dd1f93fefc7a61aba866e3.zip
kernel_samsung_smdk4412-18b5dc2ed7f0ede825dd1f93fefc7a61aba866e3.tar.gz
kernel_samsung_smdk4412-18b5dc2ed7f0ede825dd1f93fefc7a61aba866e3.tar.bz2
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 3d210d2..d49c7c2 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);
}
}