[media] cx23885: convert call clients into subdevices

Signed-off-by: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Steven Toth 2011-10-10 11:09:53 -03:00 committed by Mauro Carvalho Chehab
parent d5492fb9ed
commit 80f1e086e6

View 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;
}