[media] cx23885: convert call clients into subdevices
authorSteven Toth <stoth@kernellabs.com>
Mon, 10 Oct 2011 14:09:53 +0000 (11:09 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 14 Oct 2011 20:02:25 +0000 (17:02 -0300)
Signed-off-by: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx23885/cx23885-video.c

index 34854b0..747fdb3 100644 (file)
@@ -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;
 }