diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2008-04-22 13:41:49 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-24 12:42:21 -0400 |
commit | 7f8447d13d3abaeb46d0e6ae2890a843aa09561f (patch) | |
tree | 88e676006361722745d2137e475c5815bc737899 | |
parent | be71f7dc73d3afe6d6998a04d5c46d415c3bc62c (diff) |
V4L/DVB (7124): tuner-simple: display frequency in MHz
fix debug in simple_config_lookup to display frequency in MHz
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r-- | drivers/media/video/tuner-simple.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/media/video/tuner-simple.c b/drivers/media/video/tuner-simple.c index 4854fc4a7d39..85556d44c8ab 100644 --- a/drivers/media/video/tuner-simple.c +++ b/drivers/media/video/tuner-simple.c | |||
@@ -241,8 +241,10 @@ static int simple_config_lookup(struct dvb_frontend *fe, | |||
241 | *config = t_params->ranges[i].config; | 241 | *config = t_params->ranges[i].config; |
242 | *cb = t_params->ranges[i].cb; | 242 | *cb = t_params->ranges[i].cb; |
243 | 243 | ||
244 | tuner_dbg("freq = %d, range = %d, config = 0x%02x, cb = 0x%02x\n", | 244 | tuner_dbg("freq = %d.%02d (%d), range = %d, " |
245 | *frequency, i, *config, *cb); | 245 | "config = 0x%02x, cb = 0x%02x\n", |
246 | *frequency / 16, *frequency % 16 * 100 / 16, *frequency, | ||
247 | i, *config, *cb); | ||
246 | 248 | ||
247 | return i; | 249 | return i; |
248 | } | 250 | } |