2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-17 01:34:00 +08:00

[media] cinergyT2-fe: Fix bandwdith settings

Changeset 7830bbaff9 mangled the bandwidth field for CinergyT2.
Properly fill it.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Mauro Carvalho Chehab 2012-01-23 13:15:22 -02:00
parent 03652e0ad4
commit c79eba9240

View File

@ -276,14 +276,15 @@ static int cinergyt2_fe_set_frontend(struct dvb_frontend *fe)
param.flags = 0; param.flags = 0;
switch (fep->bandwidth_hz) { switch (fep->bandwidth_hz) {
default:
case 8000000: case 8000000:
param.bandwidth = 0; param.bandwidth = 8;
break; break;
case 7000000: case 7000000:
param.bandwidth = 1; param.bandwidth = 7;
break; break;
case 6000000: case 6000000:
param.bandwidth = 2; param.bandwidth = 6;
break; break;
} }