diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2009-08-07 12:10:52 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2009-08-07 12:10:52 +0200 |
commit | 84ca12cecb8b0b28efb9403b9ea6da6a9589caec (patch) | |
tree | 07a6bb3ff75b5a8465f3360761d7c48bf6ebfb96 /linux | |
parent | a1eb3529b0c857e8de54c34b526aca3e07f5b34a (diff) | |
download | mediapointer-dvb-s2-84ca12cecb8b0b28efb9403b9ea6da6a9589caec.tar.gz mediapointer-dvb-s2-84ca12cecb8b0b28efb9403b9ea6da6a9589caec.tar.bz2 |
hdpvr: add missing initialization of current_norm
From: Hans Verkuil <hverkuil@xs4all.nl>
Drivers should either set current_norm or supply a g_std callback.
The hdpvr driver does neither. Since it initializes to a 60 Hz format
I've initialized the current_norm to NTSC | PAL_M | PAL_60 which is the
60 Hz subset of tvnorms.
Priority: normal
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
CC: Janne Grunau <j@jannau.net>
Diffstat (limited to 'linux')
-rw-r--r-- | linux/drivers/media/video/hdpvr/hdpvr-video.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/drivers/media/video/hdpvr/hdpvr-video.c b/linux/drivers/media/video/hdpvr/hdpvr-video.c index 5937de23c..2eb9dc2eb 100644 --- a/linux/drivers/media/video/hdpvr/hdpvr-video.c +++ b/linux/drivers/media/video/hdpvr/hdpvr-video.c @@ -1222,6 +1222,8 @@ static const struct video_device hdpvr_video_template = { V4L2_STD_PAL_G | V4L2_STD_PAL_H | V4L2_STD_PAL_I | V4L2_STD_PAL_D | V4L2_STD_PAL_M | V4L2_STD_PAL_N | V4L2_STD_PAL_60, + .current_norm = V4L2_STD_NTSC | V4L2_STD_PAL_M | + V4L2_STD_PAL_60, }; int hdpvr_register_videodev(struct hdpvr_device *dev, struct device *parent, |