projects/linux·commit f5ae29e2

[PATCH] cx88-dvb: fix nxt200x rf input switching

f5ae29e2 · Michael Krufky <[email protected]> · 2007-03-24 13:21:53 -04:00

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 <[email protected]>
Cc: Mauro Carvalho Chehab <[email protected]>
Cc: Ivan Andrewjeski <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
f5ae29e284b328e0976789d5c199bbbe80e4b005
Parents
d9a5c0a4

Changes

1 files changed · +2 −2

FileStatusAddDelContent
drivers/media/dvb/frontends/nxt200x.cmodified+2−2View file

drivers/media/dvb/frontends/nxt200x.c

View file
diff --git a/drivers/media/dvb/frontends/nxt200x.c b/drivers/media/dvb/frontends/nxt200x.c
index 87c286e..b809f83 100644
--- a/drivers/media/dvb/frontends/nxt200x.c
+++ b/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;