blob: a94efcd4f7bf261d921c79e5817619dd01132c17 [file] [log] [blame]
From stable-bounces@linux.kernel.org Wed Mar 28 18:23:55 2007
From: Michael Krufky <mkrufky@linuxtv.org>
Date: Wed, 28 Mar 2007 21:22:16 -0400
Subject: DVB: fix nxt200x rf input switching
To: stable@kernel.org
Message-ID: <460B14C8.9050707@linuxtv.org>
From: Michael Krufky <mkrufky@linuxtv.org>
DVB: fix nxt200x rf input switching
After dvb tuner refactoring, the pll buffer 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.
(cherry picked from commit f5ae29e284b328e0976789d5c199bbbe80e4b005)
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/media/dvb/frontends/nxt200x.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/drivers/media/dvb/frontends/nxt200x.c
+++ b/drivers/media/dvb/frontends/nxt200x.c
@@ -562,7 +562,7 @@ static int nxt200x_setup_frontend_parame
/* 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_parame
/* 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;