Re: [v3.3-rc1] media:dvb-t regression bisected

From: Jörg Otte
Date: Mon Jan 23 2012 - 10:10:01 EST


Thank you very much, the patch works!

Joerg


2012/1/23 Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>:
> Em 22-01-2012 13:29, Jörg Otte escreveu:
>> with v3.3-rc1 I can not watch dvb-t. I get the following
>> errors from the media player (Kaffeine,vlc):
>>
>> kaffeine(1801): DvbDevice::frontendEvent: tuning failed
>> vlc: [0xa278d78] main stream error: cannot pre fill buffer
>>
>> I have a CinergyT2 usb-stick.
>>
>> I was able to bisect the problem to:
>> commit 7830bbaff9f5f9cefcdc9acfb1783b230cc69fac
>> Author: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>
>> Date:   Mon Dec 26 15:41:01 2011 -0300
>>
>> [media] cinergyT2-fe: convert set_fontend to use DVBv5 parameters
>
> Could you please try this patch?
>
> [PATCH] cinergyT2-fe: Fix bandwdith settings
>
> Changeset 7830bbaff9f mangled the bandwidth field for CinergyT2.
> Properly fill it.
>
> Signed-off-by: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>
>
> diff --git a/drivers/media/dvb/dvb-usb/cinergyT2-fe.c b/drivers/media/dvb/dvb-usb/cinergyT2-fe.c
> index 8a57ed8..1efc028 100644
> --- a/drivers/media/dvb/dvb-usb/cinergyT2-fe.c
> +++ b/drivers/media/dvb/dvb-usb/cinergyT2-fe.c
> @@ -276,14 +276,15 @@ static int cinergyt2_fe_set_frontend(struct dvb_frontend *fe)
>        param.flags = 0;
>
>        switch (fep->bandwidth_hz) {
> +       default:
>        case 8000000:
> -               param.bandwidth = 0;
> +               param.bandwidth = 8;
>                break;
>        case 7000000:
> -               param.bandwidth = 1;
> +               param.bandwidth = 7;
>                break;
>        case 6000000:
> -               param.bandwidth = 2;
> +               param.bandwidth = 6;
>                break;
>        }
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/