diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-01-23 13:15:22 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-01-23 18:34:53 -0200 |
commit | c79eba92406acc4898adcd1689fc21a6aa91ed0b (patch) | |
tree | bfa5c0f8d93e41554b71b7eedafe019669405750 /drivers | |
parent | 03652e0ad4b140523ec5ef7fec8d2b3c7218447b (diff) | |
download | blackbird-op-linux-c79eba92406acc4898adcd1689fc21a6aa91ed0b.tar.gz blackbird-op-linux-c79eba92406acc4898adcd1689fc21a6aa91ed0b.zip |
[media] cinergyT2-fe: Fix bandwdith settings
Changeset 7830bbaff9f mangled the bandwidth field for CinergyT2.
Properly fill it.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/dvb/dvb-usb/cinergyT2-fe.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/media/dvb/dvb-usb/cinergyT2-fe.c b/drivers/media/dvb/dvb-usb/cinergyT2-fe.c index 8a57ed8272de..1efc028a76c9 100644 --- a/drivers/media/dvb/dvb-usb/cinergyT2-fe.c +++ b/drivers/media/dvb/dvb-usb/cinergyT2-fe.c @@ -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; } |