Re: [PATCH 3/3] dvb: nxt200x: Add function for nxt200x to change pll input

From: Michael Krufky (mkrufky_at_m1k.net)
Date: 11/04/05

  • Next message: Larry.Finger_at_lwfinger.net: "(no subject)"
    Date:	Fri, 04 Nov 2005 00:02:40 -0500
    To: linux-kernel@vger.kernel.org
    
    

    Michael Krufky wrote:

    >From: Kirk Lapray <kirk.lapray@gmail.com>
    >
    >- Added function for nxt200x to change pll input
    >- For VSB set to input 0, for QAM set to input 1
    >- will only be set for cards that have set_pll_input defined
    >
    >Signed-off-by: Kirk Lapray <kirk.lapray@gmail.com>
    >Signed-off-by: Michael Krufky <mkrufky@m1k.net>
    >
    > drivers/media/dvb/frontends/nxt200x.c | 9 +++++++--
    > drivers/media/dvb/frontends/nxt200x.h | 3 +++
    > 2 files changed, 10 insertions(+), 2 deletions(-)
    >
    >--- linux-2.6.14-git5.orig/drivers/media/dvb/frontends/nxt200x.c
    >+++ linux-2.6.14-git5/drivers/media/dvb/frontends/nxt200x.c
    >@@ -556,13 +556,18 @@ static int nxt200x_setup_frontend_parame
    > if (state->config->set_ts_params)
    > state->config->set_ts_params(fe, 1);
    >
    >- /* set to use cable input */
    >- buf[3] |= 0x08;
    >+ /* set input */
    >+ if (state->config->set_pll_input)
    >+ state->config->set_pll_input(buf, 1);
    > break;
    > case VSB_8:
    > /* Set non-punctured clock for VSB */
    > if (state->config->set_ts_params)
    > state->config->set_ts_params(fe, 0);
    >+
    >+ /* set input */
    >+ if (state->config->set_pll_input)
    >+ state->config->set_pll_input(buf, 0);
    > break;
    > default:
    > return -EINVAL;
    >--- linux-2.6.14-git5.orig/drivers/media/dvb/frontends/nxt200x.h
    >+++ linux-2.6.14-git5/drivers/media/dvb/frontends/nxt200x.h
    >@@ -42,6 +42,9 @@ struct nxt200x_config
    > u8 pll_address;
    > struct dvb_pll_desc *pll_desc;
    >
    >+ /* used to set pll input */
    >+ int (*set_pll_input)(u8* buf, int input);
    >+
    > /* need to set device param for start_dma */
    > int (*set_ts_params)(struct dvb_frontend* fe, int is_punctured);
    > };
    >
    Before anybody says it, I am aware of the whitespace issue right here.
    It is all over dvb-kernel, and we will be fixing this all at once, in a
    later patch.

    Thank you,

    Michael Krufky
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Larry.Finger_at_lwfinger.net: "(no subject)"

    Relevant Pages

    • Re: **SPAM** [PATCH 3/3] usb gadget driver for MQ11xx graphics chip
      ... On Wednesday 03 August 2005 05:49 pm, Nick Sillik wrote: ... > Michael Krufky wrote: ... "Computer games don't affect kids; I mean if Pac-Man affected us as kids, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.12-rc5-mm1 breaks serio: i8042 AUX port
      ... >>I'd agree that this is a regression and that we should identify the code ... Looks like either a different patch is the culprit, ... Michael Krufky ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: cx88 totally fried in 2.6.15-rcX -was- Re: HD3000 - no NTSC via tuner
      ... On Monday 28 November 2005 22:43, Michael Krufky wrote: ... Bear in mind I have no ATSC signals out here in the West Virginia hills ... Copyright 2005 by Maurice Eugene Heskett, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Linux 2.6.15-rc2
      ... On Wednesday 23 November 2005 14:17, Michael Krufky wrote: ... it still takes a _cold_ reboot to 2.6.14.2 to fix ... Copyright 2005 by Maurice Eugene Heskett, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [TRIVIAL 2.6.12 / 2.6.13 PATCH] v4l cx88 hue offset fix
      ... On 6/30/05, Michael Krufky wrote: ... > Mauro Carvalho Chehab wrote: ... > don't know if that is proper protocol for doing this. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)