diff options
author | Mauro Carvalho Chehab <mchehab@brturbo.com.br> | 2005-12-01 03:51:34 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-12-01 18:48:57 -0500 |
commit | 6f502b8a7858ecfa7d2a0762f7663b8b3d0808fc (patch) | |
tree | b6f6ef7e9918324136eabb506c37f7b91bd647b2 /drivers/media/video/cx88/cx88-tvaudio.c | |
parent | c87c948ebd75525df4d67dd5b40e6ea81859cc17 (diff) |
[PATCH] V4L: Enables audio DMA setting on cx88 chips, even when dma not in use
- Enabled audio DMA transfer code even when DMA not in use to solve a
problem on some broken cx88 chips.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/media/video/cx88/cx88-tvaudio.c')
-rw-r--r-- | drivers/media/video/cx88/cx88-tvaudio.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/video/cx88/cx88-tvaudio.c b/drivers/media/video/cx88/cx88-tvaudio.c index a9059c53a418..a1b120c8a9b5 100644 --- a/drivers/media/video/cx88/cx88-tvaudio.c +++ b/drivers/media/video/cx88/cx88-tvaudio.c | |||
@@ -132,7 +132,10 @@ static void set_audio_finish(struct cx88_core *core, u32 ctl) | |||
132 | { | 132 | { |
133 | u32 volume; | 133 | u32 volume; |
134 | 134 | ||
135 | /* restart dma; This avoids buzz in NICAM and is good in others */ | ||
136 | cx88_stop_audio_dma(core); | ||
135 | cx_write(AUD_RATE_THRES_DMD, 0x000000C0); | 137 | cx_write(AUD_RATE_THRES_DMD, 0x000000C0); |
138 | cx88_start_audio_dma(core); | ||
136 | 139 | ||
137 | if (cx88_boards[core->board].blackbird) { | 140 | if (cx88_boards[core->board].blackbird) { |
138 | /* sets sound input from external adc */ | 141 | /* sets sound input from external adc */ |