diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2006-09-27 23:47:51 -0400 |
---|---|---|
committer | Michael Krufky <mkrufky@linuxtv.org> | 2006-09-27 23:47:51 -0400 |
commit | e5609737e9b7d74fd2daec8a4a6f5c354ed7e29b (patch) | |
tree | 137d1f78137a6d291b9c9e28193aab4af9bf7f2c /linux/drivers/media/dvb/frontends/qt1010.h | |
parent | 8d754c26a4d9b88654352d8600fd622c1f7060d2 (diff) | |
download | mediapointer-dvb-s2-e5609737e9b7d74fd2daec8a4a6f5c354ed7e29b.tar.gz mediapointer-dvb-s2-e5609737e9b7d74fd2daec8a4a6f5c354ed7e29b.tar.bz2 |
m920x: misc updates and fixes
From: Aapo Tahkola <aet@rasterburn.org>
- hardware pid filtering no longer enabled unless in usb 1.x mode
- more responsive rc handling
- some minor bug fixes and code refolding
- m9206_write delay dropped (doesn't seem to be needed)
Signed-off-by: Aapo Tahkola <aet@rasterburn.org>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/dvb/frontends/qt1010.h')
-rw-r--r-- | linux/drivers/media/dvb/frontends/qt1010.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/linux/drivers/media/dvb/frontends/qt1010.h b/linux/drivers/media/dvb/frontends/qt1010.h index e526e3c23..3a566085f 100644 --- a/linux/drivers/media/dvb/frontends/qt1010.h +++ b/linux/drivers/media/dvb/frontends/qt1010.h @@ -25,7 +25,7 @@ #define QT1010_MIN_STEP 2000000 #define QT1010_MIN_FREQ 48000000 -static int qt1010_set_params(struct dvb_frontend *fe, struct dvb_frontend_parameters *params, u8 *buf, int buf_len) +static int qt1010_set_params(struct dvb_frontend *fe, struct dvb_frontend_parameters *params) { int i; int div, mod; @@ -85,9 +85,6 @@ static int qt1010_set_params(struct dvb_frontend *fe, struct dvb_frontend_parame if (freq % QT1010_MIN_STEP) printk("frequency not supported.\n"); - (void) buf; - (void) buf_len; - div = (freq - QT1010_MIN_FREQ) / QT1010_MIN_STEP; mod = (div + 16 - 9) % 16; @@ -206,7 +203,7 @@ static int qt1010_set_params(struct dvb_frontend *fe, struct dvb_frontend_parame msg.flags = 0; msg.len = 2; - msg.addr = 0xc4; + msg.addr = d->adapter[0].pll_addr; msg.buf = &rd[i].reg; if (i2c_transfer(&d->i2c_adap, &msg, 1) != 1) { |