From: Eberhard Mattes Date: Sun, 2 Aug 2009 18:44:37 +0000 (-0300) Subject: V4L/DVB (12388): dvb-usb: fix tuning with Cinergy T2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0b0157398eb5c0786567b11fcf651147b0892c81;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git V4L/DVB (12388): dvb-usb: fix tuning with Cinergy T2 cinergyInitialize param.flags. Signed-off-by: Eberhard Mattes Signed-off-by: Thierry MERLE Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/dvb/dvb-usb/cinergyT2-fe.c b/drivers/media/dvb/dvb-usb/cinergyT2-fe.c index 649f25cca49e..9cd51ac12076 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 *)¶m, sizeof(param),