V4L/DVB (12388): dvb-usb: fix tuning with Cinergy T2
authorEberhard Mattes <eberhard.mattes@web.de>
Sun, 2 Aug 2009 18:44:37 +0000 (15:44 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 12 Sep 2009 15:18:35 +0000 (12:18 -0300)
cinergyInitialize param.flags.

Signed-off-by: Eberhard Mattes <eberhard.mattes@web.de>
Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/cinergyT2-fe.c

index 649f25cca49e37feb5de89d5b1ac2881863a6f9f..9cd51ac12076eec16039c77fe6396735da9b559c 100644 (file)
@@ -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),