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] tuner-core: return afc instead of zero
Author:  Mauro Carvalho Chehab <[email protected]>
Date:    Mon Mar 25 09:55:57 2013 -0300

While the driver gets AFC from the tuner, it doesn't return it
back via V4L2 API due to a mistake at the return. fix it.

Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 drivers/media/v4l2-core/tuner-core.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

---

http://git.linuxtv.org/media_tree.git?a=commitdiff;h=383730c36419b85233fe2b5081253a2181160d17

diff --git a/drivers/media/v4l2-core/tuner-core.c 
b/drivers/media/v4l2-core/tuner-core.c
index dd8a803..5e18f44 100644
--- a/drivers/media/v4l2-core/tuner-core.c
+++ b/drivers/media/v4l2-core/tuner-core.c
@@ -235,7 +235,7 @@ static int fe_get_afc(struct dvb_frontend *fe)
        if (fe->ops.tuner_ops.get_afc)
                fe->ops.tuner_ops.get_afc(fe, &afc);
 
-       return 0;
+       return afc;
 }
 
 static int fe_set_config(struct dvb_frontend *fe, void *priv_cfg)

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

Reply via email to