diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2006-01-09 12:25:41 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@brturbo.com.br> | 2006-01-09 12:25:41 -0500 |
commit | 3578d3dd0b1e468a44a76a83efe90476a854625d (patch) | |
tree | 2cd544f2aae9844821afdf90308048a800e961a1 /drivers/media/video/cx25840/cx25840.h | |
parent | 21fa715e67fe57e404d7f5f39b7f18016db9e4b6 (diff) |
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>
Diffstat (limited to 'drivers/media/video/cx25840/cx25840.h')
-rw-r--r-- | drivers/media/video/cx25840/cx25840.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/cx25840/cx25840.h b/drivers/media/video/cx25840/cx25840.h index 40aa59f9c525..4731a19092a6 100644 --- a/drivers/media/video/cx25840/cx25840.h +++ b/drivers/media/video/cx25840/cx25840.h | |||
@@ -65,7 +65,7 @@ struct cx25840_state { | |||
65 | enum cx25840_cardtype cardtype; | 65 | enum cx25840_cardtype cardtype; |
66 | enum cx25840_input input; | 66 | enum cx25840_input input; |
67 | int audio_input; | 67 | int audio_input; |
68 | enum v4l2_audio_clock_freq audclk_freq; | 68 | u32 audclk_freq; |
69 | }; | 69 | }; |
70 | 70 | ||
71 | /* ----------------------------------------------------------------------- */ | 71 | /* ----------------------------------------------------------------------- */ |