Skip to content

Commit

Permalink
V4L/DVB (9773): tda827x: fix printk message when in FM mode
Browse files Browse the repository at this point in the history
Cc: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Mauro Carvalho Chehab committed Dec 30, 2008
1 parent 26d5f3a commit e5218ee
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions drivers/media/common/tuners/tda827x.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}


Expand Down

0 comments on commit e5218ee

Please sign in to comment.