summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Toth <stoth@kernellabs.com>2011-10-10 11:09:53 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-10-14 17:02:25 -0300
commit80f1e086e68f4e6ef066022d8b7f5ea0bd686220 (patch)
tree27becb72103c80ad7dfc2c4c3a44eafb738749cb
parentd5492fb9ed3f3f25c56b25684072f0d234863b08 (diff)
[media] cx23885: convert call clients into subdevices
Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/video/cx23885/cx23885-video.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/cx23885/cx23885-video.c b/drivers/media/video/cx23885/cx23885-video.c
index 34854b0a94a5..747fdb35145b 100644
--- a/drivers/media/video/cx23885/cx23885-video.c
+++ b/drivers/media/video/cx23885/cx23885-video.c
@@ -1225,6 +1225,7 @@ static int vidioc_g_tuner(struct file *file, void *priv,
strcpy(t->name, "Television");
+ call_all(dev, tuner, g_tuner, t);
return 0;
}
@@ -1238,6 +1239,7 @@ static int vidioc_s_tuner(struct file *file, void *priv,
if (0 != t->index)
return -EINVAL;
/* Update the A/V core */
+ call_all(dev, tuner, s_tuner, t);
return 0;
}