From 5665f683356611af6fbd6916d7be44b50569c2f7 Mon Sep 17 00:00:00 2001 From: Andreas Oberritter Date: Thu, 26 Jun 2003 22:04:06 +0000 Subject: vp310 should be configured to 90Mhz, too... skystar2 driver with bugfixed master_xfer() should probably work now. patch url: http://www.saftware.de/skystar2.c.diff big thanks to Lovec for providing the needed patches, and testing --- linux/drivers/media/dvb/frontends/mt312.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'linux') diff --git a/linux/drivers/media/dvb/frontends/mt312.c b/linux/drivers/media/dvb/frontends/mt312.c index cdd22ce50..992ecc2b3 100644 --- a/linux/drivers/media/dvb/frontends/mt312.c +++ b/linux/drivers/media/dvb/frontends/mt312.c @@ -237,21 +237,9 @@ static int mt312_init(struct dvb_i2c_bus *i2c, const long id) { int ret; u8 buf[2]; - u8 config; - - switch (id) { - case ID_VP310: - config = 0x88; - break; - case ID_MT312: - config = 0x8c; - break; - default: - return -EINVAL; - } /* wake up */ - if ((ret = mt312_writereg(i2c, CONFIG, config)) < 0) + if ((ret = mt312_writereg(i2c, CONFIG, 0x8c)) < 0) return ret; /* wait at least 150 usec */ -- cgit v1.2.3