diff options
-rw-r--r-- | linux/drivers/media/video/tuner-simple.c | 9 | ||||
-rw-r--r-- | v4l/ChangeLog | 8 |
2 files changed, 16 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; diff --git a/v4l/ChangeLog b/v4l/ChangeLog index 94a097d21..406a3e129 100644 --- a/v4l/ChangeLog +++ b/v4l/ChangeLog @@ -1,3 +1,11 @@ +2005-11-30 16:18 mchehab + + * ../linux/drivers/media/video/tuner-simple.c: + (default_set_tv_freq): + - New debug msg to show video freqs. + + Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br> + 2005-11-29 19:45 mchehab * ../v4l_experimental/pvrusb2/pvrusb2-eeprom.c: |