aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@brturbo.com.br>2006-01-09 12:25:12 -0500
committerMauro Carvalho Chehab <mchehab@brturbo.com.br>2006-01-09 12:25:12 -0500
commitf5b90a27ffe25c428329edae5b1ef81e1a8e383f (patch)
tree20d9ba7e9d5fe2fec210d2ff8ef99b77501cfdbd /drivers/media/video
parent5c07db0cb4f537731dba31002f314f3dc270d83f (diff)
V4L/DVB (3084): Added a new debug msg to help identifying tuner Problems
- Added a new debug msg to help identifying tuner Problems Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'drivers/media/video')
-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;