mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00:00
[media] ix2505v: use DVBv5 parameters on set_params()
Instead of using DVBv3 parameters, rely on DVBv5 parameters to set the tuner Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
e7e10deb58
commit
3cc66df680
1 changed files with 3 additions and 2 deletions
|
@ -132,9 +132,10 @@ static int ix2505v_release(struct dvb_frontend *fe)
|
|||
static int ix2505v_set_params(struct dvb_frontend *fe,
|
||||
struct dvb_frontend_parameters *params)
|
||||
{
|
||||
struct dtv_frontend_properties *c = &fe->dtv_property_cache;
|
||||
struct ix2505v_state *state = fe->tuner_priv;
|
||||
u32 frequency = params->frequency;
|
||||
u32 b_w = (params->u.qpsk.symbol_rate * 27) / 32000;
|
||||
u32 frequency = c->frequency;
|
||||
u32 b_w = (c->symbol_rate * 27) / 32000;
|
||||
u32 div_factor, N , A, x;
|
||||
int ret = 0, len;
|
||||
u8 gain, cc, ref, psc, local_osc, lpf;
|
||||
|
|
Loading…
Reference in a new issue