Skip to content

Commit

Permalink
V4L/DVB (7083): saa7134: enable radio and external analog audio-in on…
Browse files Browse the repository at this point in the history
… the md2819

It also enumerates now the separate composite input at first
and adds mute ability to radio and external audio-in.

Many thanks to Daftcho Tabakov for reporting the flaws and testing.

Signed-off-by: Hermann Pitton <hermann-pitton@arcor.de>
Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Hermann Pitton authored and Mauro Carvalho Chehab committed Feb 18, 2008
1 parent 4ba2437 commit ad1ef13
Showing 1 changed file with 21 additions and 10 deletions.
31 changes: 21 additions & 10 deletions drivers/media/video/saa7134/saa7134-cards.c
Original file line number Diff line number Diff line change
Expand Up @@ -928,27 +928,38 @@ struct saa7134_board saa7134_boards[] = {
.tuner_addr = ADDR_UNSET,
.radio_addr = ADDR_UNSET,
.tda9887_conf = TDA9887_PRESENT,
.gpiomask = 0x03,
.inputs = {{
.name = name_tv,
.vmux = 1,
.amux = TV,
.tv = 1,
},{
.gpio = 0x00,
}, {
.name = name_comp1,
.vmux = 0,
.amux = LINE2,
},{
.name = name_comp2,
.vmux = 3,
.amux = LINE2,
},{
.amux = LINE1,
.gpio = 0x02,
}, {
.name = name_comp2,
.vmux = 0,
.amux = LINE1,
.gpio = 0x02,
}, {
.name = name_svideo,
.vmux = 8,
.amux = LINE2,
}},
.amux = LINE1,
.gpio = 0x02,
} },
.radio = {
.name = name_radio,
.amux = LINE2,
.amux = LINE1,
.gpio = 0x01,
},
.mute = {
.name = name_mute,
.amux = TV,
.gpio = 0x00,
},
},
[SAA7134_BOARD_BMK_MPEX_TUNER] = {
Expand Down

0 comments on commit ad1ef13

Please sign in to comment.