V4L/DVB (3711): Add support for VIDIOC_INT_S_CRYSTAL_FREQ internal command.
authorHans Verkuil <hverkuil@xs4all.nl>
Sun, 2 Apr 2006 15:50:42 +0000 (12:50 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 25 Jun 2006 04:57:36 +0000 (01:57 -0300)
commitb7f8292c96463810edfecff70dd4631d47e5a36b
tree02b1cfb3f753ea82c6fa51c901420074875be355
parent2eb606db1134ce860cc0cbf8b533b6315d182e21
V4L/DVB (3711): Add support for VIDIOC_INT_S_CRYSTAL_FREQ internal command.

Some saa7115-based cards use a different crystal frequency and a different
audio clock generation. Add a new VIDIOC_INT_S_CRYSTAL_FREQ command to be
able to set these values.
Also change the default APLL setting to 0. It makes no sense to have the
audio clock independent from the video clock, this can lead to audio/video
synchronization problems. Setting this to 0 is also consistent with the old
saa7114.c source and the way the Hauppauge Windows driver sets it.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/saa7115.c
drivers/media/video/v4l2-common.c
include/media/saa7115.h
include/media/v4l2-common.h