summaryrefslogtreecommitdiff
path: root/v4l
diff options
context:
space:
mode:
authorGerd Knorr <devnull@localhost>2004-12-10 12:33:39 +0000
committerGerd Knorr <devnull@localhost>2004-12-10 12:33:39 +0000
commit0b35334a57bea3250daaab02ee3b1f5e70d46bfb (patch)
treecfeb0f72b2627e1dca96110f7c99e07faab24876 /v4l
parent6208c1bac3644cd9e3dbdee0aa7418b2d9bb02dc (diff)
downloadmediapointer-dvb-s2-0b35334a57bea3250daaab02ee3b1f5e70d46bfb.tar.gz
mediapointer-dvb-s2-0b35334a57bea3250daaab02ee3b1f5e70d46bfb.tar.bz2
- add moduleparam.h include to many files.
- some pinnacle 300i progress (can talk to mt352 now, not working yet through). - misc minor stuff.
Diffstat (limited to 'v4l')
-rw-r--r--v4l/mt352.c23
-rw-r--r--v4l/scripts/update6
2 files changed, 14 insertions, 15 deletions
diff --git a/v4l/mt352.c b/v4l/mt352.c
index e41a31107..4638207be 100644
--- a/v4l/mt352.c
+++ b/v4l/mt352.c
@@ -94,17 +94,6 @@ static u8 mt352_read_register(struct mt352_state* state, u8 reg)
return b1[0];
}
-
-
-
-
-
-
-
-
-
-
-
static int mt352_sleep(struct dvb_frontend* fe)
{
static u8 mt352_softdown[] = { CLOCK_CTL, 0x20, 0x08 };
@@ -259,11 +248,15 @@ static int mt352_set_parameters(struct dvb_frontend* fe,
/* Only send the tuning request if the tuner doesn't have the requested
* parameters already set. Enhances tuning time and prevents stream
* breakup when retuning the same transponder. */
- for (i = 1; i < 13; i++)
+ for (i = 1; i < 13; i++) {
if (buf[i] != mt352_read_register(state, i + 0x50)) {
mt352_write(fe, buf, sizeof(buf));
break;
}
+ if (8 == i && 0 == buf[i])
+ /* no tuner address given => skip that part */
+ break;
+ }
return 0;
}
@@ -565,3 +558,9 @@ MODULE_LICENSE("GPL");
EXPORT_SYMBOL(mt352_attach);
EXPORT_SYMBOL(mt352_write);
+/*
+ * Local variables:
+ * c-basic-offset: 8
+ * compile-command: "make DVB=1"
+ * End:
+ */
diff --git a/v4l/scripts/update b/v4l/scripts/update
index d2a64d716..47f0f23d5 100644
--- a/v4l/scripts/update
+++ b/v4l/scripts/update
@@ -63,17 +63,17 @@ sync; sleep 1;
# common
v4l2basic
-xrmmod video-buf
-xinsmod video-buf debug=0
+#xrmmod video-buf
+#xinsmod video-buf debug=0
#xrmmod v4l1-compat
#xinsmod v4l1-compat debug=1
+xinsmod dvb-pll debug=0
xinsmod btcx-risc debug=0
xinsmod ir-common debug=1 repeat=0
xinsmod tuner debug=0
xinsmod tda9887 debug=0 port2=0
xinsmod msp3400 debug=0
-xinsmod dvb-pll debug=0
# bttv
xinsmod ir-kbd-i2c debug=0