summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/nxt200x.c
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2007-03-24 16:49:22 -0700
committerMichael Krufky <mkrufky@linuxtv.org>2007-03-24 16:49:22 -0700
commit6bee38194ba9451760aab353e5e825f98d639506 (patch)
treed19150f8c2a2a4317846ffc0d53153d3f186c8cc /linux/drivers/media/dvb/frontends/nxt200x.c
parent5e29e28718a80e08f3c6c920d162964c0d377f93 (diff)
downloadmediapointer-dvb-s2-6bee38194ba9451760aab353e5e825f98d639506.tar.gz
mediapointer-dvb-s2-6bee38194ba9451760aab353e5e825f98d639506.tar.bz2
[PATCH] nxt200x: fix rf input switching
After dvb tuner refactoring, the pllbuff has been altered such that the pll address is now stored in buf[0]. Instead of sending buf to set_pll_input, we should send buf+1. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Cc: Mauro Carvalho Chehab <mchehab@infradead.org> Cc: Ivan Andrewjeski <ivan@fiero-gt.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> kernel-sync committer: Linus Torvalds <torvalds@woody.linux-foundation.org>
Diffstat (limited to 'linux/drivers/media/dvb/frontends/nxt200x.c')
-rw-r--r--linux/drivers/media/dvb/frontends/nxt200x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/frontends/nxt200x.c b/linux/drivers/media/dvb/frontends/nxt200x.c
index 87c286ee6..b809f83d9 100644
--- a/linux/drivers/media/dvb/frontends/nxt200x.c
+++ b/linux/drivers/media/dvb/frontends/nxt200x.c
@@ -562,7 +562,7 @@ static int nxt200x_setup_frontend_parameters (struct dvb_frontend* fe,
/* set input */
if (state->config->set_pll_input)
- state->config->set_pll_input(buf, 1);
+ state->config->set_pll_input(buf+1, 1);
break;
case VSB_8:
/* Set non-punctured clock for VSB */
@@ -571,7 +571,7 @@ static int nxt200x_setup_frontend_parameters (struct dvb_frontend* fe,
/* set input */
if (state->config->set_pll_input)
- state->config->set_pll_input(buf, 0);
+ state->config->set_pll_input(buf+1, 0);
break;
default:
return -EINVAL;