V4L/DVB (3214): Calculate the saa7115 AMCLK regs instead of using fixed values
authorHans Verkuil <hverkuil@xs4all.nl>
Mon, 9 Jan 2006 17:25:41 +0000 (15:25 -0200)
committerMauro Carvalho Chehab <mchehab@brturbo.com.br>
Mon, 9 Jan 2006 17:25:41 +0000 (15:25 -0200)
commit3578d3dd0b1e468a44a76a83efe90476a854625d
tree2cd544f2aae9844821afdf90308048a800e961a1
parent21fa715e67fe57e404d7f5f39b7f18016db9e4b6
V4L/DVB (3214): Calculate the saa7115 AMCLK regs instead of using fixed values

- Calculate the audio master clock registers from the actual
frequencies. This simplifies the code and it also prepares
for adding CGC2 support.
- VIDIOC_INT_AUDIO_CLOCK_FREQ now receives an u32 instead of
an enum. It is more generic and actually easier to implement.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
drivers/media/video/cx25840/cx25840-audio.c
drivers/media/video/cx25840/cx25840-core.c
drivers/media/video/cx25840/cx25840.h
drivers/media/video/saa7115.c
include/media/v4l2-common.h