Commit 0b015739 authored by Eberhard Mattes's avatar Eberhard Mattes Committed by Mauro Carvalho Chehab

V4L/DVB (12388): dvb-usb: fix tuning with Cinergy T2

cinergyInitialize param.flags.
Signed-off-by: default avatarEberhard Mattes <eberhard.mattes@web.de>
Signed-off-by: default avatarThierry MERLE <thierry.merle@free.fr>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent bb2c818f
...@@ -275,6 +275,7 @@ static int cinergyt2_fe_set_frontend(struct dvb_frontend *fe, ...@@ -275,6 +275,7 @@ static int cinergyt2_fe_set_frontend(struct dvb_frontend *fe,
param.tps = cpu_to_le16(compute_tps(fep)); param.tps = cpu_to_le16(compute_tps(fep));
param.freq = cpu_to_le32(fep->frequency / 1000); param.freq = cpu_to_le32(fep->frequency / 1000);
param.bandwidth = 8 - fep->u.ofdm.bandwidth - BANDWIDTH_8_MHZ; param.bandwidth = 8 - fep->u.ofdm.bandwidth - BANDWIDTH_8_MHZ;
param.flags = 0;
err = dvb_usb_generic_rw(state->d, err = dvb_usb_generic_rw(state->d,
(char *)&param, sizeof(param), (char *)&param, sizeof(param),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment