summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb/frontends')
-rw-r--r--drivers/media/dvb/frontends/dib3000mb_priv.h2
-rw-r--r--drivers/media/dvb/frontends/dvb-pll.c7
2 files changed, 2 insertions, 7 deletions
diff --git a/drivers/media/dvb/frontends/dib3000mb_priv.h b/drivers/media/dvb/frontends/dib3000mb_priv.h
index 16c526591f3..9dc235aa44b 100644
--- a/drivers/media/dvb/frontends/dib3000mb_priv.h
+++ b/drivers/media/dvb/frontends/dib3000mb_priv.h
@@ -98,7 +98,7 @@ struct dib3000_state {
int timing_offset;
int timing_offset_comp_done;
- fe_bandwidth_t last_tuned_bw;
+ u32 last_tuned_bw;
u32 last_tuned_freq;
};
diff --git a/drivers/media/dvb/frontends/dvb-pll.c b/drivers/media/dvb/frontends/dvb-pll.c
index 978805ed384..1ab34838221 100644
--- a/drivers/media/dvb/frontends/dvb-pll.c
+++ b/drivers/media/dvb/frontends/dvb-pll.c
@@ -635,12 +635,7 @@ static int dvb_pll_set_params(struct dvb_frontend *fe)
}
priv->frequency = frequency;
- if (c->bandwidth_hz <= 6000000)
- priv->bandwidth = BANDWIDTH_6_MHZ;
- else if (c->bandwidth_hz <= 7000000)
- priv->bandwidth = BANDWIDTH_7_MHZ;
- if (c->bandwidth_hz <= 8000000)
- priv->bandwidth = BANDWIDTH_8_MHZ;
+ priv->bandwidth = c->bandwidth_hz;
return 0;
}