This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/media_tree.git tree:

Subject: [media] ds3000: wrong hardware tune function implemented
Author:  Igor M. Liplianin <[email protected]>
Date:    Sun Feb 27 17:29:55 2011 -0300

It is taken from another tree, where it is modified.
Patch to fix that

Signed-off-by: Igor M. Liplianin <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 drivers/media/dvb/frontends/ds3000.c |   15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)

---

http://git.linuxtv.org/media_tree.git?a=commitdiff;h=09ed6d41b26fb086fb659084cd853249b9d18d10

diff --git a/drivers/media/dvb/frontends/ds3000.c 
b/drivers/media/dvb/frontends/ds3000.c
index 7f3d118..90bf573 100644
--- a/drivers/media/dvb/frontends/ds3000.c
+++ b/drivers/media/dvb/frontends/ds3000.c
@@ -1220,9 +1220,20 @@ static int ds3000_set_frontend(struct dvb_frontend *fe,
 }
 
 static int ds3000_tune(struct dvb_frontend *fe,
-                       struct dvb_frontend_parameters *p)
+                       struct dvb_frontend_parameters *p,
+                       unsigned int mode_flags,
+                       unsigned int *delay,
+                       fe_status_t *status)
 {
-       return ds3000_set_frontend(fe, p);
+       if (p) {
+               int ret = ds3000_set_frontend(fe, p);
+               if (ret)
+                       return ret;
+       }
+
+       *delay = HZ / 5;
+
+       return ds3000_read_status(fe, status);
 }
 
 static enum dvbfe_algo ds3000_get_algo(struct dvb_frontend *fe)

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to