[linux-dvb] [PATCH] [RESEND] stb6100: stb6100_init fix

Manu Abraham abraham.manu at gmail.com
Thu Jan 8 21:14:37 CET 2009


On Thu, Jan 8, 2009 at 9:17 PM, Hans Werner <HWerner4 at gmx.de> wrote:

>
>
> Signed-off-by: Hans Werner <hwerner4 at gmx.de>
>
> diff -r b7e7abe3e3aa linux/drivers/media/dvb/frontends/stb6100.c
> --- a/linux/drivers/media/dvb/frontends/stb6100.c
> +++ b/linux/drivers/media/dvb/frontends/stb6100.c
> @@ -434,11 +434,11 @@ static int stb6100_init(struct dvb_front
>        status->refclock        = 27000000;     /* Hz   */
>        status->iqsense         = 1;
>        status->bandwidth       = 36000;        /* kHz  */
> -       state->bandwidth        = status->bandwidth * 1000;     /* MHz  */
> +       state->bandwidth        = status->bandwidth * 1000;     /* Hz   */
>        state->reference        = status->refclock / 1000;      /* kHz  */
>
>        /* Set default bandwidth.       */
> -       return stb6100_set_bandwidth(fe, status->bandwidth);
> +       return stb6100_set_bandwidth(fe, state->bandwidth);
>  }
>
>  static int stb6100_get_state(struct dvb_frontend *fe,
>


Patch looks more or less ok, but it won't have any effect in any manner at
all as it is a
NOP during init (purely cosmetic). Anyway will pull it in along with the
other patches
and after testing.


Manu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.linuxtv.org/pipermail/linux-dvb/attachments/20090109/add79083/attachment.htm 


More information about the linux-dvb mailing list