Skip to content

Commit c79eba9

Browse files
author
Mauro Carvalho Chehab
committed
[media] cinergyT2-fe: Fix bandwdith settings
Changeset 7830bba mangled the bandwidth field for CinergyT2. Properly fill it. Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent 03652e0 commit c79eba9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

drivers/media/dvb/dvb-usb/cinergyT2-fe.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -276,14 +276,15 @@ static int cinergyt2_fe_set_frontend(struct dvb_frontend *fe)
276276
param.flags = 0;
277277

278278
switch (fep->bandwidth_hz) {
279+
default:
279280
case 8000000:
280-
param.bandwidth = 0;
281+
param.bandwidth = 8;
281282
break;
282283
case 7000000:
283-
param.bandwidth = 1;
284+
param.bandwidth = 7;
284285
break;
285286
case 6000000:
286-
param.bandwidth = 2;
287+
param.bandwidth = 6;
287288
break;
288289
}
289290

0 commit comments

Comments
 (0)