mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00: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:
parent
19c22c34dc
commit
aa104b2fea
1 changed files with 4 additions and 3 deletions
|
@ -276,14 +276,15 @@ static int cinergyt2_fe_set_frontend(struct dvb_frontend *fe)
|
|||
param.flags = 0;
|
||||
|
||||
switch (fep->bandwidth_hz) {
|
||||
default:
|
||||
case 8000000:
|
||||
param.bandwidth = 0;
|
||||
param.bandwidth = 8;
|
||||
break;
|
||||
case 7000000:
|
||||
param.bandwidth = 1;
|
||||
param.bandwidth = 7;
|
||||
break;
|
||||
case 6000000:
|
||||
param.bandwidth = 2;
|
||||
param.bandwidth = 6;
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue