Skip to content

Commit

Permalink
V4L/DVB (3362): KWorld ATSC110: implement set_pll_input
Browse files Browse the repository at this point in the history
- When tuning VSB, use ANT input
- When tuning QAM, use CABLE input

Signed-off-by: Curt Meyers <cmeyers@boilerbots.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Curt Meyers authored and Mauro Carvalho Chehab committed Feb 27, 2006
1 parent 3e1410a commit fbc81c0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions drivers/media/video/saa7134/saa7134-dvb.c
Original file line number Diff line number Diff line change
Expand Up @@ -928,10 +928,20 @@ static struct nxt200x_config avertvhda180 = {
.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 = {
.demod_address = 0x0a,
.pll_address = 0x61,
.pll_desc = &dvb_pll_tuv1236d,
.set_pll_input = nxt200x_set_pll_input,
};
#endif

Expand Down

0 comments on commit fbc81c0

Please sign in to comment.