[media] v4l/cx18: update workqueue usage
authorTejun Heo <tj@kernel.org>
Mon, 3 Jan 2011 13:49:34 +0000 (10:49 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 Jan 2011 13:45:46 +0000 (11:45 -0200)
commita3bc5e3304c9ba8e7504597026d9ca93784d1239
tree0fac021557dc28e4bea935218152bd774fadced0
parentfd01ad98945073faeb25391489caef4844f265c4
[media] v4l/cx18: update workqueue usage

With cmwq, there's no reason to use separate out_work_queue.  Drop it
and use system_wq instead.  The in_work_queue needs to be ordered so
can't use one of the system wqs; however, as it isn't used to reclaim
memory, allocate the workqueue with alloc_ordered_workqueue() without
WQ_MEM_RECLAIM.

Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Andy Walls <awalls@md.metrocast.net>
Acked-by: Andy Walls <awalls@md.metrocast.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx18/cx18-driver.c
drivers/media/video/cx18/cx18-driver.h
drivers/media/video/cx18/cx18-streams.h