diff options
Diffstat (limited to 'drivers/media/dvb/frontends/ix2505v.c')
-rw-r--r-- | drivers/media/dvb/frontends/ix2505v.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/dvb/frontends/ix2505v.c b/drivers/media/dvb/frontends/ix2505v.c index 9a517a4bf96d..bc5a82082aaa 100644 --- a/drivers/media/dvb/frontends/ix2505v.c +++ b/drivers/media/dvb/frontends/ix2505v.c | |||
@@ -129,12 +129,12 @@ static int ix2505v_release(struct dvb_frontend *fe) | |||
129 | * 1 -> 8 -> 6 | 129 | * 1 -> 8 -> 6 |
130 | */ | 130 | */ |
131 | 131 | ||
132 | static int ix2505v_set_params(struct dvb_frontend *fe, | 132 | static int ix2505v_set_params(struct dvb_frontend *fe) |
133 | struct dvb_frontend_parameters *params) | ||
134 | { | 133 | { |
134 | struct dtv_frontend_properties *c = &fe->dtv_property_cache; | ||
135 | struct ix2505v_state *state = fe->tuner_priv; | 135 | struct ix2505v_state *state = fe->tuner_priv; |
136 | u32 frequency = params->frequency; | 136 | u32 frequency = c->frequency; |
137 | u32 b_w = (params->u.qpsk.symbol_rate * 27) / 32000; | 137 | u32 b_w = (c->symbol_rate * 27) / 32000; |
138 | u32 div_factor, N , A, x; | 138 | u32 div_factor, N , A, x; |
139 | int ret = 0, len; | 139 | int ret = 0, len; |
140 | u8 gain, cc, ref, psc, local_osc, lpf; | 140 | u8 gain, cc, ref, psc, local_osc, lpf; |