]> git.karo-electronics.de Git - linux-beck.git/commitdiff
V4L/DVB (9773): tda827x: fix printk message when in FM mode
authorMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 8 Dec 2008 02:01:57 +0000 (23:01 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 30 Dec 2008 11:38:17 +0000 (09:38 -0200)
Cc: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/common/tuners/tda827x.c

index 4a74f65e759aad5bc622ed7178cd13f1e2416f0c..f221cee4c6870af218d73578d3dced6c96edb7cb 100644 (file)
@@ -80,10 +80,11 @@ static void tda827x_set_std(struct dvb_frontend *fe,
                mode = "xx";
        }
 
-       if (params->mode == V4L2_TUNER_RADIO)
+       if (params->mode == V4L2_TUNER_RADIO) {
                priv->sgIF = 88; /* if frequency is 5.5 MHz */
-
-       dprintk("setting tda827x to system %s\n", mode);
+               dprintk("setting tda827x to radio FM\n");
+       } else
+               dprintk("setting tda827x to system %s\n", mode);
 }