]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitd3ba7dd2ce777758f7d4596e76538878f1cfbd95
tree0fac021557dc28e4bea935218152bd774fadced0
parent1a3192615014395eaf80f947f677f726a543006c
[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