Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 14d24d14 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

[media] tuners: remove dvb_frontend_parameters from set_params()



This is a big patch, yet trivial: now that all tuners use the DVBv5
way to pass parameters (e. g. via fe->dtv_property_cache), the
extra parameter can be removed from set_params() call.

After this change, very few DVBv3 specific stuff are left at the
tuners.

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 249fa0b0
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -257,8 +257,7 @@ static void max2165_debug_status(struct max2165_priv *priv)
	dprintk("VCO: %d, VCO Sub-band: %d, ADC: %d\n", vco, vco_sub_band, adc);
}

static int max2165_set_params(struct dvb_frontend *fe,
	struct dvb_frontend_parameters *params)
static int max2165_set_params(struct dvb_frontend *fe)
{
	struct max2165_priv *priv = fe->tuner_priv;
	struct dtv_frontend_properties *c = &fe->dtv_property_cache;
+1 −2
Original line number Diff line number Diff line
@@ -214,8 +214,7 @@ static int mc44s803_init(struct dvb_frontend *fe)
	return err;
}

static int mc44s803_set_params(struct dvb_frontend *fe,
			       struct dvb_frontend_parameters *params)
static int mc44s803_set_params(struct dvb_frontend *fe)
{
	struct mc44s803_priv *priv = fe->tuner_priv;
	struct dtv_frontend_properties *c = &fe->dtv_property_cache;
+1 −1
Original line number Diff line number Diff line
@@ -153,7 +153,7 @@ static int mt2060_spurcheck(u32 lo1,u32 lo2,u32 if2)
#define IF2  36150       // IF2 frequency = 36.150 MHz
#define FREF 16000       // Quartz oscillator 16 MHz

static int mt2060_set_params(struct dvb_frontend *fe, struct dvb_frontend_parameters *params)
static int mt2060_set_params(struct dvb_frontend *fe)
{
	struct dtv_frontend_properties *c = &fe->dtv_property_cache;
	struct mt2060_priv *priv;
+1 −2
Original line number Diff line number Diff line
@@ -92,8 +92,7 @@ static int mt2131_writeregs(struct mt2131_priv *priv,u8 *buf, u8 len)
	return 0;
}

static int mt2131_set_params(struct dvb_frontend *fe,
			     struct dvb_frontend_parameters *params)
static int mt2131_set_params(struct dvb_frontend *fe)
{
	struct dtv_frontend_properties *c = &fe->dtv_property_cache;
	struct mt2131_priv *priv;
+1 −1
Original line number Diff line number Diff line
@@ -122,7 +122,7 @@ static u8 mt2266_vhf[] = { 0x1d, 0xfe, 0x00, 0x00, 0xb4, 0x03, 0xa5, 0xa5,

#define FREF 30000       // Quartz oscillator 30 MHz

static int mt2266_set_params(struct dvb_frontend *fe, struct dvb_frontend_parameters *params)
static int mt2266_set_params(struct dvb_frontend *fe)
{
	struct dtv_frontend_properties *c = &fe->dtv_property_cache;
	struct mt2266_priv *priv;
Loading