diff options
author | Mauro Carvalho Chehab <devnull@localhost> | 2005-11-30 16:22:53 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <devnull@localhost> | 2005-11-30 16:22:53 +0000 |
commit | 6c0f3d2c420800743d06415a856925e748e330a3 (patch) | |
tree | effa7064fce2449ad0b54199c683fed124bc16ec /linux/drivers/media/video/tuner-simple.c | |
parent | d43e1cc68c2e6ee719e0965e13037fe8f7859925 (diff) | |
download | mediapointer-dvb-s2-6c0f3d2c420800743d06415a856925e748e330a3.tar.gz mediapointer-dvb-s2-6c0f3d2c420800743d06415a856925e748e330a3.tar.bz2 |
Added a new debug msg to help identifying tuner Problems
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'linux/drivers/media/video/tuner-simple.c')
-rw-r--r-- | linux/drivers/media/video/tuner-simple.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/linux/drivers/media/video/tuner-simple.c b/linux/drivers/media/video/tuner-simple.c index 3ef841fb8..0c9f43421 100644 --- a/linux/drivers/media/video/tuner-simple.c +++ b/linux/drivers/media/video/tuner-simple.c @@ -1,5 +1,5 @@ /* - * $Id: tuner-simple.c,v 1.61 2005/11/29 13:45:52 mchehab Exp $ + * $Id: tuner-simple.c,v 1.62 2005/11/30 16:22:53 mchehab Exp $ * * i2c tv tuner chip device driver * controls all those simple 4-control-bytes style tuners. @@ -931,6 +931,13 @@ static void default_set_tv_freq(struct i2c_client *c, unsigned int freq) } div=freq + IFPCoff + offset; + + tuner_dbg("Freq= %d.%02d MHz, V_IF=%d.%02d MHz, Offset=%d.%02d MHz, div=%0d\n", + freq / 16, freq % 16 * 100 / 16, + IFPCoff / 16, IFPCoff % 16 * 100 / 16, + offset / 16, offset % 16 * 100 / 16, + div); + if (t->type == TUNER_PHILIPS_SECAM && freq < t->freq) { buffer[0] = tun->config; buffer[1] = config; |