提交 fbc81c07 编写于 作者: C Curt Meyers 提交者: Mauro Carvalho Chehab

V4L/DVB (3362): KWorld ATSC110: implement set_pll_input

- When tuning VSB, use ANT input
- When tuning QAM, use CABLE input
Signed-off-by: NCurt Meyers <cmeyers@boilerbots.com>
Signed-off-by: NMichael Krufky <mkrufky@linuxtv.org>
Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
上级 3e1410ad
...@@ -928,10 +928,20 @@ static struct nxt200x_config avertvhda180 = { ...@@ -928,10 +928,20 @@ static struct nxt200x_config avertvhda180 = {
.pll_desc = &dvb_pll_tdhu2, .pll_desc = &dvb_pll_tdhu2,
}; };
static int nxt200x_set_pll_input(u8 *buf, int input)
{
if (input)
buf[3] |= 0x08;
else
buf[3] &= ~0x08;
return 0;
}
static struct nxt200x_config kworldatsc110 = { static struct nxt200x_config kworldatsc110 = {
.demod_address = 0x0a, .demod_address = 0x0a,
.pll_address = 0x61, .pll_address = 0x61,
.pll_desc = &dvb_pll_tuv1236d, .pll_desc = &dvb_pll_tuv1236d,
.set_pll_input = nxt200x_set_pll_input,
}; };
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册