diff options
author | Oliver Endriss <o.endriss@gmx.de> | 2006-08-07 01:04:26 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-09-26 10:53:52 -0400 |
commit | 8d90ee5e0e57b67e6e5c01cb14495fb69edccbbf (patch) | |
tree | 9b6167cbfdba6d0bbc2d06f437352c17a7395322 /drivers/media/dvb/ttpci/av7110.c | |
parent | d93f8860cc55504b376b38b95d22efeb3cc10edd (diff) |
V4L/DVB (4478): [av7110] Support Grundig DVB-T tuner for sub-system 13c2:0001
Some DVB-T cards with Grundig 29504-401 tuner use subsystem id 13c2:0001
(reported by Stuart Butterfield).
Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/ttpci/av7110.c')
-rw-r--r-- | drivers/media/dvb/ttpci/av7110.c | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/drivers/media/dvb/ttpci/av7110.c b/drivers/media/dvb/ttpci/av7110.c index 5742154d8841..ff6ad04132fe 100644 --- a/drivers/media/dvb/ttpci/av7110.c +++ b/drivers/media/dvb/ttpci/av7110.c | |||
@@ -2150,12 +2150,19 @@ static int frontend_init(struct av7110 *av7110) | |||
2150 | break; | 2150 | break; |
2151 | 2151 | ||
2152 | case 0x0001: // Hauppauge/TT Nexus-T premium rev1.X | 2152 | case 0x0001: // Hauppauge/TT Nexus-T premium rev1.X |
2153 | 2153 | // try ALPS TDLB7 first, then Grundig 29504-401 | |
2154 | // ALPS TDLB7 | ||
2155 | av7110->fe = dvb_attach(sp8870_attach, &alps_tdlb7_config, &av7110->i2c_adap); | 2154 | av7110->fe = dvb_attach(sp8870_attach, &alps_tdlb7_config, &av7110->i2c_adap); |
2156 | if (av7110->fe) { | 2155 | if (av7110->fe) { |
2157 | av7110->fe->ops.tuner_ops.set_params = alps_tdlb7_tuner_set_params; | 2156 | av7110->fe->ops.tuner_ops.set_params = alps_tdlb7_tuner_set_params; |
2157 | break; | ||
2158 | } | 2158 | } |
2159 | /* fall-thru */ | ||
2160 | |||
2161 | case 0x0008: // Hauppauge/TT DVB-T | ||
2162 | // Grundig 29504-401 | ||
2163 | av7110->fe = dvb_attach(l64781_attach, &grundig_29504_401_config, &av7110->i2c_adap); | ||
2164 | if (av7110->fe) | ||
2165 | av7110->fe->ops.tuner_ops.set_params = grundig_29504_401_tuner_set_params; | ||
2159 | break; | 2166 | break; |
2160 | 2167 | ||
2161 | case 0x0002: // Hauppauge/TT DVB-C premium rev2.X | 2168 | case 0x0002: // Hauppauge/TT DVB-C premium rev2.X |
@@ -2190,14 +2197,6 @@ static int frontend_init(struct av7110 *av7110) | |||
2190 | } | 2197 | } |
2191 | break; | 2198 | break; |
2192 | 2199 | ||
2193 | case 0x0008: // Hauppauge/TT DVB-T | ||
2194 | |||
2195 | av7110->fe = dvb_attach(l64781_attach, &grundig_29504_401_config, &av7110->i2c_adap); | ||
2196 | if (av7110->fe) { | ||
2197 | av7110->fe->ops.tuner_ops.set_params = grundig_29504_401_tuner_set_params; | ||
2198 | } | ||
2199 | break; | ||
2200 | |||
2201 | case 0x000A: // Hauppauge/TT Nexus-CA rev1.X | 2200 | case 0x000A: // Hauppauge/TT Nexus-CA rev1.X |
2202 | 2201 | ||
2203 | av7110->fe = dvb_attach(stv0297_attach, &nexusca_stv0297_config, &av7110->i2c_adap); | 2202 | av7110->fe = dvb_attach(stv0297_attach, &nexusca_stv0297_config, &av7110->i2c_adap); |