Skip to content

Commit fe77de3

Browse files
Miroslav Slugengregkh
authored andcommitted
cx88: fix: don't duplicate xc4000 entry for radio
commit b6854e3 upstream. All radio tuners in cx88 driver using same address for radio and tuner, so there is no need to probe it twice for same tuner and we can use radio_type UNSET, this also fix broken radio since kernel 2.6.39-rc1 for those tuners. Signed-off-by: Miroslav Slugen <thunder.mmm@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
1 parent 60dfee8 commit fe77de3

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

‎drivers/media/video/cx88/cx88-cards.c‎

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1573,8 +1573,8 @@ static const struct cx88_board cx88_boards[] = {
15731573
.name = "Pinnacle Hybrid PCTV",
15741574
.tuner_type = TUNER_XC2028,
15751575
.tuner_addr = 0x61,
1576-
.radio_type = TUNER_XC2028,
1577-
.radio_addr = 0x61,
1576+
.radio_type = UNSET,
1577+
.radio_addr = ADDR_UNSET,
15781578
.input = { {
15791579
.type = CX88_VMUX_TELEVISION,
15801580
.vmux = 0,
@@ -1611,8 +1611,8 @@ static const struct cx88_board cx88_boards[] = {
16111611
.name = "Leadtek TV2000 XP Global",
16121612
.tuner_type = TUNER_XC2028,
16131613
.tuner_addr = 0x61,
1614-
.radio_type = TUNER_XC2028,
1615-
.radio_addr = 0x61,
1614+
.radio_type = UNSET,
1615+
.radio_addr = ADDR_UNSET,
16161616
.input = { {
16171617
.type = CX88_VMUX_TELEVISION,
16181618
.vmux = 0,
@@ -2043,8 +2043,8 @@ static const struct cx88_board cx88_boards[] = {
20432043
.name = "Terratec Cinergy HT PCI MKII",
20442044
.tuner_type = TUNER_XC2028,
20452045
.tuner_addr = 0x61,
2046-
.radio_type = TUNER_XC2028,
2047-
.radio_addr = 0x61,
2046+
.radio_type = UNSET,
2047+
.radio_addr = ADDR_UNSET,
20482048
.input = { {
20492049
.type = CX88_VMUX_TELEVISION,
20502050
.vmux = 0,
@@ -2082,9 +2082,9 @@ static const struct cx88_board cx88_boards[] = {
20822082
[CX88_BOARD_WINFAST_DTV1800H] = {
20832083
.name = "Leadtek WinFast DTV1800 Hybrid",
20842084
.tuner_type = TUNER_XC2028,
2085-
.radio_type = TUNER_XC2028,
2085+
.radio_type = UNSET,
20862086
.tuner_addr = 0x61,
2087-
.radio_addr = 0x61,
2087+
.radio_addr = ADDR_UNSET,
20882088
/*
20892089
* GPIO setting
20902090
*
@@ -2123,9 +2123,9 @@ static const struct cx88_board cx88_boards[] = {
21232123
[CX88_BOARD_WINFAST_DTV1800H_XC4000] = {
21242124
.name = "Leadtek WinFast DTV1800 H (XC4000)",
21252125
.tuner_type = TUNER_XC4000,
2126-
.radio_type = TUNER_XC4000,
2126+
.radio_type = UNSET,
21272127
.tuner_addr = 0x61,
2128-
.radio_addr = 0x61,
2128+
.radio_addr = ADDR_UNSET,
21292129
/*
21302130
* GPIO setting
21312131
*
@@ -2164,9 +2164,9 @@ static const struct cx88_board cx88_boards[] = {
21642164
[CX88_BOARD_WINFAST_DTV2000H_PLUS] = {
21652165
.name = "Leadtek WinFast DTV2000 H PLUS",
21662166
.tuner_type = TUNER_XC4000,
2167-
.radio_type = TUNER_XC4000,
2167+
.radio_type = UNSET,
21682168
.tuner_addr = 0x61,
2169-
.radio_addr = 0x61,
2169+
.radio_addr = ADDR_UNSET,
21702170
/*
21712171
* GPIO
21722172
* 2: 1: mute audio

0 commit comments

Comments
 (0)