diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-06-28 11:49:20 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-20 06:15:19 -0400 |
commit | 81cb727d29eda7692a03be035b7228b4c3f6b610 (patch) | |
tree | f67766fa933419d80015624fc475448795733679 /drivers/media/video/cx18/cx18-av-firmware.c | |
parent | f313da113fe083bfb1eb43377f551db4bbe702a6 (diff) |
V4L/DVB (8167): cx18: set correct audio inputs for tuner and line-in 2.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/cx18/cx18-av-firmware.c')
-rw-r--r-- | drivers/media/video/cx18/cx18-av-firmware.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/cx18/cx18-av-firmware.c b/drivers/media/video/cx18/cx18-av-firmware.c index ab86dc71bf8d..834b9248242e 100644 --- a/drivers/media/video/cx18/cx18-av-firmware.c +++ b/drivers/media/video/cx18/cx18-av-firmware.c | |||
@@ -22,6 +22,7 @@ | |||
22 | #include "cx18-driver.h" | 22 | #include "cx18-driver.h" |
23 | #include <linux/firmware.h> | 23 | #include <linux/firmware.h> |
24 | 24 | ||
25 | #define CX18_AUDIO_ENABLE 0xc72014 | ||
25 | #define FWFILE "v4l-cx23418-dig.fw" | 26 | #define FWFILE "v4l-cx23418-dig.fw" |
26 | 27 | ||
27 | int cx18_av_loadfw(struct cx18 *cx) | 28 | int cx18_av_loadfw(struct cx18 *cx) |
@@ -118,7 +119,6 @@ int cx18_av_loadfw(struct cx18 *cx) | |||
118 | have a name in the spec. */ | 119 | have a name in the spec. */ |
119 | cx18_av_write4(cx, 0x09CC, 1); | 120 | cx18_av_write4(cx, 0x09CC, 1); |
120 | 121 | ||
121 | #define CX18_AUDIO_ENABLE 0xc72014 | ||
122 | v = read_reg(CX18_AUDIO_ENABLE); | 122 | v = read_reg(CX18_AUDIO_ENABLE); |
123 | /* If bit 11 is 1 */ | 123 | /* If bit 11 is 1 */ |
124 | if (v & 0x800) | 124 | if (v & 0x800) |