V4L/DVB (12428): hdpvr: add missing initialization of current_norm
authorHans Verkuil <hverkuil@xs4all.nl>
Fri, 7 Aug 2009 10:10:52 +0000 (07:10 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 13 Aug 2009 23:39:12 +0000 (20:39 -0300)
commit99362e1ece9f9651af1b849a01d91b9df1e0db2c
tree7d1593777f9d9eec6c49c793e46420cfc3c5e85d
parent2dd54a54c19d0e5b50f4e1c591653772ead9d4a1
V4L/DVB (12428): hdpvr: add missing initialization of current_norm

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.

Cc: Janne Grunau <j@jannau.net>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/hdpvr/hdpvr-video.c