<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Yep, that seems to work nicely. It even makes sense too :-)<br>
<br>
Tim.<br>
<br>
<br>
Patrick Boettcher wrote:
<blockquote cite="midPine.LNX.4.64.0602031018300.27031@pub1.ifh.de"
type="cite">Hi Tim,
<br>
<br>
On Fri, 3 Feb 2006, Tim Davies wrote:
<br>
<blockquote type="cite">Is this a patch to do with multiple tuners?
I'm a little lost on the logic here.
<br>
</blockquote>
<br>
You are right. It was an old patch lying around and when writing the
mail I was too fast.
<br>
<br>
Sorry, the attached one is the correct one. Can you check this, please?
<br>
<br>
best regards,
<br>
Patrick.
<br>
<br>
--
<br>
Mail: <a class="moz-txt-link-abbreviated" href="mailto:patrick.boettcher@desy.de">patrick.boettcher@desy.de</a>
<br>
WWW: <a class="moz-txt-link-freetext" href="http://www.wi-bw.tfh-wildau.de/~pboettch/">http://www.wi-bw.tfh-wildau.de/~pboettch/</a><br>
<pre wrap="">
<hr size="4" width="90%">
Index: linux/drivers/media/dvb/dvb-usb/vp7045-fe.c
===================================================================
RCS file: /cvs/video4linux/v4l-dvb/linux/drivers/media/dvb/dvb-usb/vp7045-fe.c,v
retrieving revision 1.4
diff -u -3 -p -r1.4 vp7045-fe.c
--- linux/drivers/media/dvb/dvb-usb/vp7045-fe.c        11 Jan 2006 19:28:02 -0000        1.4
+++ linux/drivers/media/dvb/dvb-usb/vp7045-fe.c        2 Feb 2006 11:53:58 -0000
@@ -23,10 +23,11 @@
struct vp7045_fe_state {
        struct dvb_frontend fe;
+        struct dvb_frontend_ops ops;
+
        struct dvb_usb_device *d;
};
-
static int vp7045_fe_read_status(struct dvb_frontend* fe, fe_status_t *status)
{
        struct vp7045_fe_state *state = fe->demodulator_priv;
@@ -150,7 +151,8 @@ struct dvb_frontend * vp7045_fe_attach(s
                goto error;
        s->d = d;
-        s->fe.ops = &vp7045_fe_ops;
+        memcpy(&s->ops, &vp7045_fe_ops, sizeof(struct dvb_frontend_ops));
+        s->fe.ops = &s->ops;
        s->fe.demodulator_priv = s;
        goto success;
</pre>
</blockquote>
</body>
</html>