summaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/ivtv/ivtv-driver.c
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2012-10-01 11:45:36 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-10-01 22:22:14 +0200
commitdff274fd86e401880d2d10c1dd7fa1fcb6d2bdbc (patch)
treef21d8d06ffb5fc00857f33698bbb136e96874129 /drivers/media/pci/ivtv/ivtv-driver.c
parent[media] ivtv: fix v4l2-compliance errors for the radio device (diff)
downloadlinux-dff274fd86e401880d2d10c1dd7fa1fcb6d2bdbc.tar.xz
linux-dff274fd86e401880d2d10c1dd7fa1fcb6d2bdbc.zip
[media] ivtv: don't allow g/s_frequency for output device nodes
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/pci/ivtv/ivtv-driver.c')
-rw-r--r--drivers/media/pci/ivtv/ivtv-driver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/pci/ivtv/ivtv-driver.c b/drivers/media/pci/ivtv/ivtv-driver.c
index eed95a396665..74e9a5032364 100644
--- a/drivers/media/pci/ivtv/ivtv-driver.c
+++ b/drivers/media/pci/ivtv/ivtv-driver.c
@@ -1325,6 +1325,7 @@ int ivtv_init_on_first_open(struct ivtv *itv)
int video_input;
fh.itv = itv;
+ fh.type = IVTV_ENC_STREAM_TYPE_MPG;
if (test_bit(IVTV_F_I_FAILED, &itv->i_flags))
return -ENXIO;