This would be best done during init and not every time on set_frontend.

Regards,
Luis

On Thu, Jul 17, 2014 at 7:43 PM, Olli Salonen <[email protected]> wrote:
> Signed-off-by: Olli Salonen <[email protected]>
> ---
>  drivers/media/dvb-frontends/si2168.c | 7 +++++++
>  1 file changed, 7 insertions(+)
>
> diff --git a/drivers/media/dvb-frontends/si2168.c 
> b/drivers/media/dvb-frontends/si2168.c
> index 0422925..56811e1 100644
> --- a/drivers/media/dvb-frontends/si2168.c
> +++ b/drivers/media/dvb-frontends/si2168.c
> @@ -313,6 +313,13 @@ static int si2168_set_frontend(struct dvb_frontend *fe)
>         if (ret)
>                 goto err;
>
> +       memcpy(cmd.args, "\x14\x00\x01\x03\x0c\x00", 6);
> +       cmd.wlen = 6;
> +       cmd.rlen = 4;
> +       ret = si2168_cmd_execute(s, &cmd);
> +       if (ret)
> +               goto err;
> +
>         memcpy(cmd.args, "\x85", 1);
>         cmd.wlen = 1;
>         cmd.rlen = 1;
> --
> 1.9.1
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to [email protected]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to