The patch number 10162 was added via Mauro Carvalho Chehab <[email protected]>
to http://linuxtv.org/hg/v4l-dvb master development tree.

Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel

If anyone has any objections, please let us know by sending a message to:
        [email protected]

------

From: Mauro Carvalho Chehab  <[email protected]>
tuner-simple: Fix tuner type set message


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


---

 linux/drivers/media/common/tuners/tuner-simple.c |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff -r 50696540e821 -r 87d1334f096b 
linux/drivers/media/common/tuners/tuner-simple.c
--- a/linux/drivers/media/common/tuners/tuner-simple.c  Wed Dec 31 07:57:19 
2008 -0200
+++ b/linux/drivers/media/common/tuners/tuner-simple.c  Wed Dec 31 10:34:18 
2008 -0200
@@ -1095,7 +1095,12 @@ struct dvb_frontend *simple_tuner_attach
        memcpy(&fe->ops.tuner_ops, &simple_tuner_ops,
               sizeof(struct dvb_tuner_ops));
 
-       tuner_info("type set to %d (%s)\n", type, priv->tun->name);
+       if (type != priv->type)
+               tuner_warn("couldn't set type to %d. Using %d (%s) instead\n",
+                           type, priv->type, priv->tun->name);
+       else
+               tuner_info("type set to %d (%s)\n",
+                          priv->type, priv->tun->name);
 
        if ((debug) || ((atv_input[priv->nr] > 0) ||
                        (dtv_input[priv->nr] > 0))) {


---

Patch is available at: 
http://linuxtv.org/hg/v4l-dvb/rev/87d1334f096bb6ee57c76647777ad7658a6e60b8

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

Reply via email to