diff options
author | Tejun Heo <tj@kernel.org> | 2011-01-03 10:49:34 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-01-19 11:45:46 -0200 |
commit | a3bc5e3304c9ba8e7504597026d9ca93784d1239 (patch) | |
tree | 0fac021557dc28e4bea935218152bd774fadced0 /drivers/media/video/cx18/cx18-streams.h | |
parent | fd01ad98945073faeb25391489caef4844f265c4 (diff) | |
download | kernel_samsung_crespo-a3bc5e3304c9ba8e7504597026d9ca93784d1239.zip kernel_samsung_crespo-a3bc5e3304c9ba8e7504597026d9ca93784d1239.tar.gz kernel_samsung_crespo-a3bc5e3304c9ba8e7504597026d9ca93784d1239.tar.bz2 |
[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>
Diffstat (limited to 'drivers/media/video/cx18/cx18-streams.h')
-rw-r--r-- | drivers/media/video/cx18/cx18-streams.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/video/cx18/cx18-streams.h b/drivers/media/video/cx18/cx18-streams.h index 51765eb..713b0e6 100644 --- a/drivers/media/video/cx18/cx18-streams.h +++ b/drivers/media/video/cx18/cx18-streams.h @@ -42,8 +42,7 @@ static inline bool cx18_stream_enabled(struct cx18_stream *s) /* Related to submission of mdls to firmware */ static inline void cx18_stream_load_fw_queue(struct cx18_stream *s) { - struct cx18 *cx = s->cx; - queue_work(cx->out_work_queue, &s->out_work_order); + schedule_work(&s->out_work_order); } static inline void cx18_stream_put_mdl_fw(struct cx18_stream *s, |