diff options
author | Frank Schaefer <fschaefer.oss@googlemail.com> | 2013-02-07 11:39:17 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-04 12:16:46 -0500 |
commit | 7a92de6a4c0c99c97df3f016860fe9597d4284b9 (patch) | |
tree | 30519a216d4971f62016ef388199f8e103f72973 | |
parent | aab346187662b3f2a11b1120896f688299c8ba43 (diff) |
[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>
-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, | |||
1493 | return -EINVAL; | 1493 | return -EINVAL; |
1494 | 1494 | ||
1495 | strcpy(t->name, "Radio"); | 1495 | strcpy(t->name, "Radio"); |
1496 | t->type = V4L2_TUNER_RADIO; | ||
1497 | 1496 | ||
1498 | v4l2_device_call_all(&dev->v4l2_dev, 0, tuner, g_tuner, t); | 1497 | v4l2_device_call_all(&dev->v4l2_dev, 0, tuner, g_tuner, t); |
1499 | 1498 | ||