aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/atbm8830.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb/frontends/atbm8830.c')
-rw-r--r--drivers/media/dvb/frontends/atbm8830.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/drivers/media/dvb/frontends/atbm8830.c b/drivers/media/dvb/frontends/atbm8830.c
index 87fb3c23b80f..d77684893d99 100644
--- a/drivers/media/dvb/frontends/atbm8830.c
+++ b/drivers/media/dvb/frontends/atbm8830.c
@@ -114,7 +114,7 @@ static int set_osc_freq(struct atbm_state *priv, u32 freq /*in kHz*/)
114 114
115static int set_if_freq(struct atbm_state *priv, u32 freq /*in kHz*/) 115static int set_if_freq(struct atbm_state *priv, u32 freq /*in kHz*/)
116{ 116{
117 117
118 u32 fs = priv->config->osc_clk_freq; 118 u32 fs = priv->config->osc_clk_freq;
119 double t; 119 double t;
120 u32 val; 120 u32 val;
@@ -161,15 +161,6 @@ static int is_locked(struct atbm_state *priv, u8 *locked)
161 return 0; 161 return 0;
162} 162}
163 163
164static int set_agc_config(struct atbm_state *priv,
165 u8 min, u8 max, u8 hold_loop)
166{
167 atbm8830_write_reg(priv, REG_AGC_MIN, min);
168 atbm8830_write_reg(priv, REG_AGC_MAX, max);
169 atbm8830_write_reg(priv, REG_AGC_HOLD_LOOP, hold_loop);
170
171 return 0;
172}
173 164
174static int set_static_channel_mode(struct atbm_state *priv) 165static int set_static_channel_mode(struct atbm_state *priv)
175{ 166{