diff options
author | Andy Walls <awalls@radix.net> | 2008-11-23 17:16:44 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-30 06:39:08 -0500 |
commit | 50b86bac6ae6dda00faa14f7d73ae2412eacc240 (patch) | |
tree | a34b376d559982e6ce97ddb7e0899e90ad371235 /drivers/media/video/cx18/cx18-mailbox.h | |
parent | f6b181ac3bda7aab227e9ee3148bc9b7f1889c57 (diff) |
V4L/DVB (9894): cx18: Use a known open task handle when setting stream CX2341x parameters
cx18: Use a known open task handle when setting stream CX2341x parameters
Sometimes, we might only have VBI or YUV stream open instead of an MPEG stream.
Let's make sure we use a valid task handle to perform the CX2341x control
settings.
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.h')
-rw-r--r-- | drivers/media/video/cx18/cx18-mailbox.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/media/video/cx18/cx18-mailbox.h b/drivers/media/video/cx18/cx18-mailbox.h index 33d5a0e7080b..ce2b6686aa00 100644 --- a/drivers/media/video/cx18/cx18-mailbox.h +++ b/drivers/media/video/cx18/cx18-mailbox.h | |||
@@ -79,6 +79,13 @@ struct cx18_mailbox { | |||
79 | u32 error; | 79 | u32 error; |
80 | }; | 80 | }; |
81 | 81 | ||
82 | struct cx18_stream; | ||
83 | |||
84 | struct cx18_api_func_private { | ||
85 | struct cx18 *cx; | ||
86 | struct cx18_stream *s; | ||
87 | }; | ||
88 | |||
82 | int cx18_api(struct cx18 *cx, u32 cmd, int args, u32 data[]); | 89 | int cx18_api(struct cx18 *cx, u32 cmd, int args, u32 data[]); |
83 | int cx18_vapi_result(struct cx18 *cx, u32 data[MAX_MB_ARGUMENTS], u32 cmd, | 90 | int cx18_vapi_result(struct cx18 *cx, u32 data[MAX_MB_ARGUMENTS], u32 cmd, |
84 | int args, ...); | 91 | int args, ...); |