[PATCH] [Karmic] UBUNTU: [Upstream] dvb-usb: fix tuning with Cinergy T2

Tim Gardner tim.gardner at canonical.com
Tue Sep 15 03:41:13 UTC 2009


Leann Ogasawara wrote:
> Hi All,
> 
> The Cinergy T2 driver fails to tune to a channel if param.flags is not
> initialized.  This is a noted regression.  The patch has been submitted
> upstream but unfortunately did not make it into 2.6.31.  This patch been
> tested and confirmed to resolve the issue by owners of this hardware.
> Please consider carrying for Karmic.
> 
> The following changes since commit ae5a7ba001c19e5c1ad52947b919ff7c7b660375:
>   Tim Gardner (1):
>         UBUNTU: [Config] Set CONFIG_CACHEFILES=m for all flavours
> 
> are available in the git repository at:
> 
>   git://kernel.ubuntu.com/ogasawara/ubuntu-karmic.git lp421258
> 
> Leann Ogasawara (1):
>       UBUNTU: [Upstream] dvb-usb: fix tuning with Cinergy T2
> 
>  drivers/media/dvb/dvb-usb/cinergyT2-fe.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
>>From 5f9d1e23f74f7e79b42e1689b9fd9e5f83b9aa56 Mon Sep 17 00:00:00 2001
> From: Leann Ogasawara <leann.ogasawara at canonical.com>
> Date: Mon, 31 Aug 2009 12:52:06 -0700
> Subject: [PATCH] UBUNTU: [Upstream] dvb-usb: fix tuning with Cinergy T2
> 
> OriginalLocation: http://patchwork.kernel.org/patch/38706/
> BugLink: http://bugs.launchpad.net/bugs/421258
> 
> Initialize param.flags
> 
> Signed-off-by: Eberhard Mattes <eberhard.mattes at web.de>
> Signed-off-by: Thierry MERLE <thierry.merle at free.fr>
> Signed-off-by: Leann Ogasawara <leann.ogasawara at canonical.com>
> ---
>  drivers/media/dvb/dvb-usb/cinergyT2-fe.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/media/dvb/dvb-usb/cinergyT2-fe.c b/drivers/media/dvb/dvb-usb/cinergyT2-fe.c
> index 649f25c..9cd51ac 100644
> --- a/drivers/media/dvb/dvb-usb/cinergyT2-fe.c
> +++ b/drivers/media/dvb/dvb-usb/cinergyT2-fe.c
> @@ -275,6 +275,7 @@ static int cinergyt2_fe_set_frontend(struct dvb_frontend *fe,
>  	param.tps = cpu_to_le16(compute_tps(fep));
>  	param.freq = cpu_to_le32(fep->frequency / 1000);
>  	param.bandwidth = 8 - fep->u.ofdm.bandwidth - BANDWIDTH_8_MHZ;
> +	param.flags = 0;
>  
>  	err = dvb_usb_generic_rw(state->d,
>  			(char *)&param, sizeof(param),

applied

-- 
Tim Gardner tim.gardner at canonical.com




More information about the kernel-team mailing list