aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx18/cx18-cards.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-06-28 11:49:20 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-20 06:15:19 -0400
commit81cb727d29eda7692a03be035b7228b4c3f6b610 (patch)
treef67766fa933419d80015624fc475448795733679 /drivers/media/video/cx18/cx18-cards.c
parentf313da113fe083bfb1eb43377f551db4bbe702a6 (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-cards.c')
-rw-r--r--drivers/media/video/cx18/cx18-cards.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/drivers/media/video/cx18/cx18-cards.c b/drivers/media/video/cx18/cx18-cards.c
index 0b892aacabef..bb45bcf68ea6 100644
--- a/drivers/media/video/cx18/cx18-cards.c
+++ b/drivers/media/video/cx18/cx18-cards.c
@@ -67,12 +67,12 @@ static const struct cx18_card cx18_card_hvr1600_esmt = {
67 { CX18_CARD_INPUT_AUD_TUNER, 67 { CX18_CARD_INPUT_AUD_TUNER,
68 CX18_AV_AUDIO8, CS5345_IN_1 | CS5345_MCLK_1_5 }, 68 CX18_AV_AUDIO8, CS5345_IN_1 | CS5345_MCLK_1_5 },
69 { CX18_CARD_INPUT_LINE_IN1, 69 { CX18_CARD_INPUT_LINE_IN1,
70 CX18_AV_AUDIO_SERIAL, CS5345_IN_2 }, 70 CX18_AV_AUDIO_SERIAL1, CS5345_IN_2 },
71 { CX18_CARD_INPUT_LINE_IN2, 71 { CX18_CARD_INPUT_LINE_IN2,
72 CX18_AV_AUDIO_SERIAL, CS5345_IN_3 }, 72 CX18_AV_AUDIO_SERIAL1, CS5345_IN_3 },
73 }, 73 },
74 .radio_input = { CX18_CARD_INPUT_AUD_TUNER, 74 .radio_input = { CX18_CARD_INPUT_AUD_TUNER,
75 CX18_AV_AUDIO_SERIAL, CS5345_IN_4 }, 75 CX18_AV_AUDIO_SERIAL1, CS5345_IN_4 },
76 .ddr = { 76 .ddr = {
77 /* ESMT M13S128324A-5B memory */ 77 /* ESMT M13S128324A-5B memory */
78 .chip_config = 0x003, 78 .chip_config = 0x003,
@@ -112,12 +112,12 @@ static const struct cx18_card cx18_card_hvr1600_samsung = {
112 { CX18_CARD_INPUT_AUD_TUNER, 112 { CX18_CARD_INPUT_AUD_TUNER,
113 CX18_AV_AUDIO8, CS5345_IN_1 | CS5345_MCLK_1_5 }, 113 CX18_AV_AUDIO8, CS5345_IN_1 | CS5345_MCLK_1_5 },
114 { CX18_CARD_INPUT_LINE_IN1, 114 { CX18_CARD_INPUT_LINE_IN1,
115 CX18_AV_AUDIO_SERIAL, CS5345_IN_2 }, 115 CX18_AV_AUDIO_SERIAL1, CS5345_IN_2 },
116 { CX18_CARD_INPUT_LINE_IN2, 116 { CX18_CARD_INPUT_LINE_IN2,
117 CX18_AV_AUDIO_SERIAL, CS5345_IN_3 }, 117 CX18_AV_AUDIO_SERIAL1, CS5345_IN_3 },
118 }, 118 },
119 .radio_input = { CX18_CARD_INPUT_AUD_TUNER, 119 .radio_input = { CX18_CARD_INPUT_AUD_TUNER,
120 CX18_AV_AUDIO_SERIAL, CS5345_IN_4 }, 120 CX18_AV_AUDIO_SERIAL1, CS5345_IN_4 },
121 .ddr = { 121 .ddr = {
122 /* Samsung K4D263238G-VC33 memory */ 122 /* Samsung K4D263238G-VC33 memory */
123 .chip_config = 0x003, 123 .chip_config = 0x003,
@@ -163,10 +163,10 @@ static const struct cx18_card cx18_card_h900 = {
163 { CX18_CARD_INPUT_AUD_TUNER, 163 { CX18_CARD_INPUT_AUD_TUNER,
164 CX18_AV_AUDIO8, 0 }, 164 CX18_AV_AUDIO8, 0 },
165 { CX18_CARD_INPUT_LINE_IN1, 165 { CX18_CARD_INPUT_LINE_IN1,
166 CX18_AV_AUDIO_SERIAL, 0 }, 166 CX18_AV_AUDIO_SERIAL1, 0 },
167 }, 167 },
168 .radio_input = { CX18_CARD_INPUT_AUD_TUNER, 168 .radio_input = { CX18_CARD_INPUT_AUD_TUNER,
169 CX18_AV_AUDIO_SERIAL, 0 }, 169 CX18_AV_AUDIO_SERIAL1, 0 },
170 .tuners = { 170 .tuners = {
171 { .std = V4L2_STD_ALL, .tuner = TUNER_XC2028 }, 171 { .std = V4L2_STD_ALL, .tuner = TUNER_XC2028 },
172 }, 172 },
@@ -211,11 +211,11 @@ static const struct cx18_card cx18_card_mpc718 = {
211 { CX18_CARD_INPUT_COMPOSITE3, 2, CX18_AV_COMPOSITE3 }, 211 { CX18_CARD_INPUT_COMPOSITE3, 2, CX18_AV_COMPOSITE3 },
212 }, 212 },
213 .audio_inputs = { 213 .audio_inputs = {
214 { CX18_CARD_INPUT_AUD_TUNER, CX18_AV_AUDIO5, 0 }, 214 { CX18_CARD_INPUT_AUD_TUNER, CX18_AV_AUDIO5, 0 },
215 { CX18_CARD_INPUT_LINE_IN1, CX18_AV_AUDIO_SERIAL, 0 }, 215 { CX18_CARD_INPUT_LINE_IN1, CX18_AV_AUDIO_SERIAL1, 0 },
216 { CX18_CARD_INPUT_LINE_IN2, CX18_AV_AUDIO_SERIAL, 0 }, 216 { CX18_CARD_INPUT_LINE_IN2, CX18_AV_AUDIO_SERIAL1, 0 },
217 }, 217 },
218 .radio_input = { CX18_CARD_INPUT_AUD_TUNER, CX18_AV_AUDIO_SERIAL, 0 }, 218 .radio_input = { CX18_CARD_INPUT_AUD_TUNER, CX18_AV_AUDIO_SERIAL1, 0 },
219 .tuners = { 219 .tuners = {
220 /* XC3028 tuner */ 220 /* XC3028 tuner */
221 { .std = V4L2_STD_ALL, .tuner = TUNER_XC2028 }, 221 { .std = V4L2_STD_ALL, .tuner = TUNER_XC2028 },
@@ -261,14 +261,14 @@ static const struct cx18_card cx18_card_cnxt_raptor_pal = {
261 { CX18_CARD_INPUT_COMPOSITE2, 2, CX18_AV_COMPOSITE6 }, 261 { CX18_CARD_INPUT_COMPOSITE2, 2, CX18_AV_COMPOSITE6 },
262 }, 262 },
263 .audio_inputs = { 263 .audio_inputs = {
264 { CX18_CARD_INPUT_AUD_TUNER, CX18_AV_AUDIO_SERIAL, 0 }, 264 { CX18_CARD_INPUT_AUD_TUNER, CX18_AV_AUDIO5, 0 },
265 { CX18_CARD_INPUT_LINE_IN1, CX18_AV_AUDIO_SERIAL, 1 }, 265 { CX18_CARD_INPUT_LINE_IN1, CX18_AV_AUDIO_SERIAL1, 1 },
266 { CX18_CARD_INPUT_LINE_IN2, CX18_AV_AUDIO_SERIAL, 1 }, 266 { CX18_CARD_INPUT_LINE_IN2, CX18_AV_AUDIO_SERIAL2, 1 },
267 }, 267 },
268 .tuners = { 268 .tuners = {
269 { .std = V4L2_STD_PAL_SECAM, .tuner = TUNER_PHILIPS_FM1216ME_MK3 }, 269 { .std = V4L2_STD_PAL_SECAM, .tuner = TUNER_PHILIPS_FM1216ME_MK3 },
270 }, 270 },
271 .radio_input = { CX18_CARD_INPUT_AUD_TUNER, CX18_AV_AUDIO_SERIAL, 2 }, 271 .radio_input = { CX18_CARD_INPUT_AUD_TUNER, CX18_AV_AUDIO_SERIAL1, 2 },
272 .ddr = { 272 .ddr = {
273 /* MT 46V16M16 memory */ 273 /* MT 46V16M16 memory */
274 .chip_config = 0x50306, 274 .chip_config = 0x50306,