aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/video/tuner-simple.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/media/video/tuner-simple.c b/drivers/media/video/tuner-simple.c
index 528e1205da46..9bd52993d366 100644
--- a/drivers/media/video/tuner-simple.c
+++ b/drivers/media/video/tuner-simple.c
@@ -913,6 +913,13 @@ static void default_set_tv_freq(struct i2c_client *c, unsigned int freq)
913 } 913 }
914 914
915 div=freq + IFPCoff + offset; 915 div=freq + IFPCoff + offset;
916
917 tuner_dbg("Freq= %d.%02d MHz, V_IF=%d.%02d MHz, Offset=%d.%02d MHz, div=%0d\n",
918 freq / 16, freq % 16 * 100 / 16,
919 IFPCoff / 16, IFPCoff % 16 * 100 / 16,
920 offset / 16, offset % 16 * 100 / 16,
921 div);
922
916 if (t->type == TUNER_PHILIPS_SECAM && freq < t->freq) { 923 if (t->type == TUNER_PHILIPS_SECAM && freq < t->freq) {
917 buffer[0] = tun->config; 924 buffer[0] = tun->config;
918 buffer[1] = config; 925 buffer[1] = config;