summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/dvb-usb
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2011-12-26 20:02:28 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-12-31 10:22:49 -0200
commitc6f56e7d794cba022353d464dfa3383d1b3e0125 (patch)
tree54414d0810e4f465a4107925092f8219695a3341 /drivers/media/dvb/dvb-usb
parent88ab898f6639ca5a14943a882fbd141afc81fe90 (diff)
downloadblackbird-op-linux-c6f56e7d794cba022353d464dfa3383d1b3e0125.tar.gz
blackbird-op-linux-c6f56e7d794cba022353d464dfa3383d1b3e0125.zip
[media] dvb: don't use DVBv3 bandwidth macros
Every frontend now uses DVBv5 way. So, let's not use the DVBv3 macros internally anymore. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/dvb-usb')
-rw-r--r--drivers/media/dvb/dvb-usb/mxl111sf-tuner.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/media/dvb/dvb-usb/mxl111sf-tuner.c b/drivers/media/dvb/dvb-usb/mxl111sf-tuner.c
index 3a533df2d8d3..72db6eef4b9c 100644
--- a/drivers/media/dvb/dvb-usb/mxl111sf-tuner.c
+++ b/drivers/media/dvb/dvb-usb/mxl111sf-tuner.c
@@ -279,7 +279,6 @@ static int mxl111sf_tuner_set_params(struct dvb_frontend *fe)
struct mxl111sf_tuner_state *state = fe->tuner_priv;
int ret;
u8 bw;
- u32 band = BANDWIDTH_6_MHZ;
mxl_dbg("()");
@@ -297,11 +296,9 @@ static int mxl111sf_tuner_set_params(struct dvb_frontend *fe)
break;
case 7000000:
bw = 7;
- band = BANDWIDTH_7_MHZ;
break;
case 8000000:
bw = 8;
- band = BANDWIDTH_8_MHZ;
break;
default:
err("%s: bandwidth not set!", __func__);
@@ -317,7 +314,7 @@ static int mxl111sf_tuner_set_params(struct dvb_frontend *fe)
goto fail;
state->frequency = c->frequency;
- state->bandwidth = band;
+ state->bandwidth = c->bandwidth_hz;
fail:
return ret;
}
OpenPOWER on IntegriCloud