diff options
author | Andreas Oberritter <devnull@localhost> | 2003-06-26 22:04:06 +0000 |
---|---|---|
committer | Andreas Oberritter <devnull@localhost> | 2003-06-26 22:04:06 +0000 |
commit | 5665f683356611af6fbd6916d7be44b50569c2f7 (patch) | |
tree | 4f13ef994e198fbeb7f96379355b67d06222aeaf | |
parent | ce4015699a20cac95fe80e4487a13dbfa28ef3a0 (diff) | |
download | mediapointer-dvb-s2-5665f683356611af6fbd6916d7be44b50569c2f7.tar.gz mediapointer-dvb-s2-5665f683356611af6fbd6916d7be44b50569c2f7.tar.bz2 |
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
-rw-r--r-- | linux/drivers/media/dvb/frontends/mt312.c | 14 |
1 files changed, 1 insertions, 13 deletions
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 */ |