Commit aa104b2f authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[media] cinergyT2-fe: Fix bandwdith settings

Changeset 7830bbaf mangled the bandwidth field for CinergyT2.
Properly fill it.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 19c22c34
...@@ -276,14 +276,15 @@ static int cinergyt2_fe_set_frontend(struct dvb_frontend *fe) ...@@ -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;
} }
......
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