提交 7f8447d1 编写于 作者: M Michael Krufky 提交者: Mauro Carvalho Chehab

V4L/DVB (7124): tuner-simple: display frequency in MHz

fix debug in simple_config_lookup to display frequency in MHz
Signed-off-by: NMichael Krufky <mkrufky@linuxtv.org>
Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
上级 be71f7dc
......@@ -241,8 +241,10 @@ static int simple_config_lookup(struct dvb_frontend *fe,
*config = t_params->ranges[i].config;
*cb = t_params->ranges[i].cb;
tuner_dbg("freq = %d, range = %d, config = 0x%02x, cb = 0x%02x\n",
*frequency, i, *config, *cb);
tuner_dbg("freq = %d.%02d (%d), range = %d, "
"config = 0x%02x, cb = 0x%02x\n",
*frequency / 16, *frequency % 16 * 100 / 16, *frequency,
i, *config, *cb);
return i;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册