diff options
author | Miroslav Slugen <thunder.mmm@gmail.com> | 2011-12-11 17:00:06 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-01-16 08:55:22 -0500 |
commit | b6854e3f31402476bcc9d2f41570389fa491de17 (patch) | |
tree | adc5c55b99b8012c475990382e3c56b9f2fc9e28 /drivers/media/video/cx88 | |
parent | 9ee8537f60590c63d74dc5724c921bc3eb6ef558 (diff) |
[media] cx88: fix: don't duplicate xc4000 entry for radio
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.
Cc: stable@kernel.org
Signed-off-by: Miroslav Slugen <thunder.mmm@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx88')
-rw-r--r-- | drivers/media/video/cx88/cx88-cards.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/drivers/media/video/cx88/cx88-cards.c b/drivers/media/video/cx88/cx88-cards.c index 62c7ad050f9b..cbd5d119a2c6 100644 --- a/drivers/media/video/cx88/cx88-cards.c +++ b/drivers/media/video/cx88/cx88-cards.c | |||
@@ -1573,8 +1573,8 @@ static const struct cx88_board cx88_boards[] = { | |||
1573 | .name = "Pinnacle Hybrid PCTV", | 1573 | .name = "Pinnacle Hybrid PCTV", |
1574 | .tuner_type = TUNER_XC2028, | 1574 | .tuner_type = TUNER_XC2028, |
1575 | .tuner_addr = 0x61, | 1575 | .tuner_addr = 0x61, |
1576 | .radio_type = TUNER_XC2028, | 1576 | .radio_type = UNSET, |
1577 | .radio_addr = 0x61, | 1577 | .radio_addr = ADDR_UNSET, |
1578 | .input = { { | 1578 | .input = { { |
1579 | .type = CX88_VMUX_TELEVISION, | 1579 | .type = CX88_VMUX_TELEVISION, |
1580 | .vmux = 0, | 1580 | .vmux = 0, |
@@ -1611,8 +1611,8 @@ static const struct cx88_board cx88_boards[] = { | |||
1611 | .name = "Leadtek TV2000 XP Global", | 1611 | .name = "Leadtek TV2000 XP Global", |
1612 | .tuner_type = TUNER_XC2028, | 1612 | .tuner_type = TUNER_XC2028, |
1613 | .tuner_addr = 0x61, | 1613 | .tuner_addr = 0x61, |
1614 | .radio_type = TUNER_XC2028, | 1614 | .radio_type = UNSET, |
1615 | .radio_addr = 0x61, | 1615 | .radio_addr = ADDR_UNSET, |
1616 | .input = { { | 1616 | .input = { { |
1617 | .type = CX88_VMUX_TELEVISION, | 1617 | .type = CX88_VMUX_TELEVISION, |
1618 | .vmux = 0, | 1618 | .vmux = 0, |
@@ -2115,8 +2115,8 @@ static const struct cx88_board cx88_boards[] = { | |||
2115 | .name = "Terratec Cinergy HT PCI MKII", | 2115 | .name = "Terratec Cinergy HT PCI MKII", |
2116 | .tuner_type = TUNER_XC2028, | 2116 | .tuner_type = TUNER_XC2028, |
2117 | .tuner_addr = 0x61, | 2117 | .tuner_addr = 0x61, |
2118 | .radio_type = TUNER_XC2028, | 2118 | .radio_type = UNSET, |
2119 | .radio_addr = 0x61, | 2119 | .radio_addr = ADDR_UNSET, |
2120 | .input = { { | 2120 | .input = { { |
2121 | .type = CX88_VMUX_TELEVISION, | 2121 | .type = CX88_VMUX_TELEVISION, |
2122 | .vmux = 0, | 2122 | .vmux = 0, |
@@ -2154,9 +2154,9 @@ static const struct cx88_board cx88_boards[] = { | |||
2154 | [CX88_BOARD_WINFAST_DTV1800H] = { | 2154 | [CX88_BOARD_WINFAST_DTV1800H] = { |
2155 | .name = "Leadtek WinFast DTV1800 Hybrid", | 2155 | .name = "Leadtek WinFast DTV1800 Hybrid", |
2156 | .tuner_type = TUNER_XC2028, | 2156 | .tuner_type = TUNER_XC2028, |
2157 | .radio_type = TUNER_XC2028, | 2157 | .radio_type = UNSET, |
2158 | .tuner_addr = 0x61, | 2158 | .tuner_addr = 0x61, |
2159 | .radio_addr = 0x61, | 2159 | .radio_addr = ADDR_UNSET, |
2160 | /* | 2160 | /* |
2161 | * GPIO setting | 2161 | * GPIO setting |
2162 | * | 2162 | * |
@@ -2195,9 +2195,9 @@ static const struct cx88_board cx88_boards[] = { | |||
2195 | [CX88_BOARD_WINFAST_DTV1800H_XC4000] = { | 2195 | [CX88_BOARD_WINFAST_DTV1800H_XC4000] = { |
2196 | .name = "Leadtek WinFast DTV1800 H (XC4000)", | 2196 | .name = "Leadtek WinFast DTV1800 H (XC4000)", |
2197 | .tuner_type = TUNER_XC4000, | 2197 | .tuner_type = TUNER_XC4000, |
2198 | .radio_type = TUNER_XC4000, | 2198 | .radio_type = UNSET, |
2199 | .tuner_addr = 0x61, | 2199 | .tuner_addr = 0x61, |
2200 | .radio_addr = 0x61, | 2200 | .radio_addr = ADDR_UNSET, |
2201 | /* | 2201 | /* |
2202 | * GPIO setting | 2202 | * GPIO setting |
2203 | * | 2203 | * |
@@ -2236,9 +2236,9 @@ static const struct cx88_board cx88_boards[] = { | |||
2236 | [CX88_BOARD_WINFAST_DTV2000H_PLUS] = { | 2236 | [CX88_BOARD_WINFAST_DTV2000H_PLUS] = { |
2237 | .name = "Leadtek WinFast DTV2000 H PLUS", | 2237 | .name = "Leadtek WinFast DTV2000 H PLUS", |
2238 | .tuner_type = TUNER_XC4000, | 2238 | .tuner_type = TUNER_XC4000, |
2239 | .radio_type = TUNER_XC4000, | 2239 | .radio_type = UNSET, |
2240 | .tuner_addr = 0x61, | 2240 | .tuner_addr = 0x61, |
2241 | .radio_addr = 0x61, | 2241 | .radio_addr = ADDR_UNSET, |
2242 | /* | 2242 | /* |
2243 | * GPIO | 2243 | * GPIO |
2244 | * 2: 1: mute audio | 2244 | * 2: 1: mute audio |