diff options
author | Frank Schaefer <fschaefer.oss@googlemail.com> | 2013-02-07 17:39:17 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-04 18:16:46 +0100 |
commit | 7a92de6a4c0c99c97df3f016860fe9597d4284b9 (patch) | |
tree | 30519a216d4971f62016ef388199f8e103f72973 /drivers/media/usb/em28xx/em28xx-video.c | |
parent | [media] em28xx: get rid of duplicate function vidioc_s_fmt_vbi_cap() (diff) | |
download | linux-7a92de6a4c0c99c97df3f016860fe9597d4284b9.tar.xz linux-7a92de6a4c0c99c97df3f016860fe9597d4284b9.zip |
[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: Frank Schäfer <fschaefer.oss@googlemail.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/usb/em28xx/em28xx-video.c')
-rw-r--r-- | drivers/media/usb/em28xx/em28xx-video.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/usb/em28xx/em28xx-video.c b/drivers/media/usb/em28xx/em28xx-video.c index 8ddf3009c794..e7f6f5745302 100644 --- a/drivers/media/usb/em28xx/em28xx-video.c +++ b/drivers/media/usb/em28xx/em28xx-video.c @@ -1493,7 +1493,6 @@ static int radio_g_tuner(struct file *file, void *priv, return -EINVAL; strcpy(t->name, "Radio"); - t->type = V4L2_TUNER_RADIO; v4l2_device_call_all(&dev->v4l2_dev, 0, tuner, g_tuner, t); |