Skip to content

Commit

Permalink
[PATCH] cx88-dvb: fix nxt200x rf input switching
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
mkrufky authored and Linus Torvalds committed Mar 24, 2007
1 parent d9a5c0a commit f5ae29e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/media/dvb/frontends/nxt200x.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand All @@ -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;
Expand Down

0 comments on commit f5ae29e

Please sign in to comment.