diff options
author | Andy Walls <awalls@radix.net> | 2008-11-05 19:19:15 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-30 06:38:01 -0500 |
commit | f68d0cf56761128e85ebc98d8de4776b89c30279 (patch) | |
tree | 3c0af57cc1909728bef2397b2e9a58305fdea301 /drivers/media/video/cx18/cx18-driver.h | |
parent | 13563f44a27a07dfade36662903037edbf8a6e01 (diff) |
V4L/DVB (9592): cx18: Use default kernel work queue; fix streaming flag for work handler
cx18: Use default kernel work queue; fix streaming flag for work handler.
Eliminate cx18 specific work queue and use the kernel default work queue.
Fixed the F_STREAMING_FLAG for the TS stream so cx18_dvb_work_handler()
can know when it is not safe to send MDLs to the firmware.
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-driver.h')
-rw-r--r-- | drivers/media/video/cx18/cx18-driver.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/video/cx18/cx18-driver.h b/drivers/media/video/cx18/cx18-driver.h index fe9e5bb979e0..04f1c624da7c 100644 --- a/drivers/media/video/cx18/cx18-driver.h +++ b/drivers/media/video/cx18/cx18-driver.h | |||
@@ -207,7 +207,6 @@ struct cx18_options { | |||
207 | #define CX18_F_I_WORK_HANDLER_DVB 18 /* work to be done for DVB */ | 207 | #define CX18_F_I_WORK_HANDLER_DVB 18 /* work to be done for DVB */ |
208 | #define CX18_F_I_INITED 21 /* set after first open */ | 208 | #define CX18_F_I_INITED 21 /* set after first open */ |
209 | #define CX18_F_I_FAILED 22 /* set if first open failed */ | 209 | #define CX18_F_I_FAILED 22 /* set if first open failed */ |
210 | #define CX18_F_I_WORK_INITED 23 /* worker thread initialized */ | ||
211 | 210 | ||
212 | /* These are the VBI types as they appear in the embedded VBI private packets. */ | 211 | /* These are the VBI types as they appear in the embedded VBI private packets. */ |
213 | #define CX18_SLICED_TYPE_TELETEXT_B (1) | 212 | #define CX18_SLICED_TYPE_TELETEXT_B (1) |
@@ -435,7 +434,6 @@ struct cx18 { | |||
435 | /* when the current DMA is finished this queue is woken up */ | 434 | /* when the current DMA is finished this queue is woken up */ |
436 | wait_queue_head_t dma_waitq; | 435 | wait_queue_head_t dma_waitq; |
437 | 436 | ||
438 | struct workqueue_struct *work_queue; | ||
439 | struct work_struct work; | 437 | struct work_struct work; |
440 | 438 | ||
441 | /* i2c */ | 439 | /* i2c */ |