aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/dvb-usb
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2008-06-09 21:58:22 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-20 06:09:28 -0400
commit5ae2fcaee4b0d6bf0fa5d9bd71e1291c9a9a6e60 (patch)
tree877335886ad8fba5c96d1d674e8c72cdb1af628c /drivers/media/dvb/dvb-usb
parente75888661a7008503e3d147f92499d9c30ebf6e3 (diff)
V4L/DVB (8031): Anysee: support for Anysee E30C Plus rev 0.4
- support for Anysee E30C Plus rev 0.4 - set IO port E - set correct TS mode - change deltaf according to latest Windows driver Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/dvb-usb')
-rw-r--r--drivers/media/dvb/dvb-usb/anysee.c18
1 files changed, 8 insertions, 10 deletions
diff --git a/drivers/media/dvb/dvb-usb/anysee.c b/drivers/media/dvb/dvb-usb/anysee.c
index dada92a14cf3..a3f9bbc355bb 100644
--- a/drivers/media/dvb/dvb-usb/anysee.c
+++ b/drivers/media/dvb/dvb-usb/anysee.c
@@ -227,7 +227,8 @@ static struct tda10023_config anysee_tda10023_config = {
227 .pll_m = 11, 227 .pll_m = 11,
228 .pll_p = 3, 228 .pll_p = 3,
229 .pll_n = 1, 229 .pll_n = 1,
230 .deltaf = 0xfed6, 230 .output_mode = TDA10023_OUTPUT_MODE_PARALLEL_C,
231 .deltaf = 0xfeeb,
231}; 232};
232 233
233static struct mt352_config anysee_mt352_config = { 234static struct mt352_config anysee_mt352_config = {
@@ -272,8 +273,8 @@ static int anysee_frontend_attach(struct dvb_usb_adapter *adap)
272 1. E30 MT352 02 0.2.1 273 1. E30 MT352 02 0.2.1
273 2. E30 ZL10353 02 0.2.1 274 2. E30 ZL10353 02 0.2.1
274 3. E30 Plus ZL10353 06 0.1.0 275 3. E30 Plus ZL10353 06 0.1.0
275 4. E30C Plus TDA10023 0a 0.1.0 276 4. E30C Plus TDA10023 0a 0.1.0 rev 0.2
276 E30C Plus TDA10023 0f 0.1.2 (not working) 277 4. E30C Plus TDA10023 0f 0.1.2 rev 0.4
277 */ 278 */
278 279
279 /* Zarlink MT352 DVB-T demod inside of Samsung DNOS404ZH102A NIM */ 280 /* Zarlink MT352 DVB-T demod inside of Samsung DNOS404ZH102A NIM */
@@ -305,13 +306,10 @@ static int anysee_frontend_attach(struct dvb_usb_adapter *adap)
305 return 0; 306 return 0;
306 } 307 }
307 308
308 /* known not working (E30C Plus v0.1.2) */ 309 /* IO port E - E30C rev 0.4 board requires this */
309 if (hw_info[0] == 0x0f) { 310 ret = anysee_write_reg(adap->dev, 0xb1, 0xa7);
310 info("this version of Anysee is not supported yet"); 311 if (ret)
311 /* return IO port D to init value for safe */ 312 return ret;
312 ret = anysee_write_reg(adap->dev, 0xb0, io_d);
313 return -ENODEV;
314 }
315 313
316 /* Philips TDA10023 DVB-C demod */ 314 /* Philips TDA10023 DVB-C demod */
317 adap->fe = dvb_attach(tda10023_attach, &anysee_tda10023_config, 315 adap->fe = dvb_attach(tda10023_attach, &anysee_tda10023_config,