提交 80f1e086 编写于 作者: S Steven Toth 提交者: Mauro Carvalho Chehab

[media] cx23885: convert call clients into subdevices

Signed-off-by: NSteven Toth <stoth@kernellabs.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 d5492fb9
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册