Commit d4c34aa0 authored by Kirk Lapray's avatar Kirk Lapray Committed by Linus Torvalds

[PATCH] V4L: 901: added function for nxt200x to change pll input

Added function for nxt200x to change pll input
Signed-off-by: default avatarKirk Lapray <kirk.lapray@gmail.com>
Signed-off-by: default avatarMichael Krufky <mkrufky@m1k.net>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@brturbo.com.br>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 6c3d67ab
...@@ -296,10 +296,20 @@ static int nxt200x_set_ts_param(struct dvb_frontend* fe, ...@@ -296,10 +296,20 @@ static int nxt200x_set_ts_param(struct dvb_frontend* fe,
return 0; return 0;
} }
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 ati_hdtvwonder = { static struct nxt200x_config ati_hdtvwonder = {
.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,
.set_ts_params = nxt200x_set_ts_param, .set_ts_params = nxt200x_set_ts_param,
}; };
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment