aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx18/cx18-mailbox.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2010-12-31 08:22:52 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-21 19:31:49 -0400
commita75b9be1c2fb52dee765d35f29031dd788d522eb (patch)
treea4f4616c01d3fe7628640accc54cd356cbf9f609 /drivers/media/video/cx18/cx18-mailbox.c
parent34a078da8e20ca40a09bfa635ff2c4e2c4b648b1 (diff)
[media] cx18: Use the control framework
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx18/cx18-mailbox.c')
-rw-r--r--drivers/media/video/cx18/cx18-mailbox.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/media/video/cx18/cx18-mailbox.c b/drivers/media/video/cx18/cx18-mailbox.c
index c545f3beef78..9605d54bd083 100644
--- a/drivers/media/video/cx18/cx18-mailbox.c
+++ b/drivers/media/video/cx18/cx18-mailbox.c
@@ -716,9 +716,8 @@ static int cx18_set_filter_param(struct cx18_stream *s)
716int cx18_api_func(void *priv, u32 cmd, int in, int out, 716int cx18_api_func(void *priv, u32 cmd, int in, int out,
717 u32 data[CX2341X_MBOX_MAX_DATA]) 717 u32 data[CX2341X_MBOX_MAX_DATA])
718{ 718{
719 struct cx18_api_func_private *api_priv = priv; 719 struct cx18_stream *s = priv;
720 struct cx18 *cx = api_priv->cx; 720 struct cx18 *cx = s->cx;
721 struct cx18_stream *s = api_priv->s;
722 721
723 switch (cmd) { 722 switch (cmd) {
724 case CX2341X_ENC_SET_OUTPUT_PORT: 723 case CX2341X_ENC_SET_OUTPUT_PORT: