提交 7a92de6a 编写于 作者: F Frank Schaefer 提交者: Mauro Carvalho Chehab

[media] em28xx: VIDIOC_G_TUNER: remove unneeded setting of tuner type

The tuner type is set by the v4l2-core based on the device type.
Signed-off-by: NFrank Schäfer <fschaefer.oss@googlemail.com>
Acked-by: NHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 aab34618
...@@ -1493,7 +1493,6 @@ static int radio_g_tuner(struct file *file, void *priv, ...@@ -1493,7 +1493,6 @@ static int radio_g_tuner(struct file *file, void *priv,
return -EINVAL; return -EINVAL;
strcpy(t->name, "Radio"); strcpy(t->name, "Radio");
t->type = V4L2_TUNER_RADIO;
v4l2_device_call_all(&dev->v4l2_dev, 0, tuner, g_tuner, t); v4l2_device_call_all(&dev->v4l2_dev, 0, tuner, g_tuner, t);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册