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

Commit 83e74554 authored by Oliver Endriss's avatar Oliver Endriss Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB: ngene: Adapt to current frontend drivers



Adapt to current stv090x + stv6110 drivers.

[mchehab@redhat.com: removed compilation hack added by me on a prev patch]
Signed-off-by: default avatarOliver Endriss <o.endriss@gmx.de>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent edad22a7
Loading
Loading
Loading
Loading
+2 −12
Original line number Diff line number Diff line
@@ -1853,7 +1853,6 @@ static struct stv090x_config fe_mps2 = {

	.xtal           = 27000000,
	.address        = 0x68,
//	.ref_clk        = 27000000,

	.ts1_mode       = STV090x_TSMODE_SERIAL_PUNCTURED,
	.ts2_mode       = STV090x_TSMODE_SERIAL_PUNCTURED,
@@ -1861,27 +1860,18 @@ static struct stv090x_config fe_mps2 = {
	.repeater_level = STV090x_RPTLEVEL_16,

	.diseqc_envelope_mode = true,

	.tuner_init           = NULL,
	.tuner_set_mode       = NULL,
	.tuner_set_frequency  = NULL,
	.tuner_get_frequency  = NULL,
	.tuner_set_bandwidth  = NULL,
	.tuner_get_bandwidth  = NULL,
	.tuner_set_bbgain     = NULL,
	.tuner_get_bbgain     = NULL,
	.tuner_set_refclk     = NULL,
	.tuner_get_status     = NULL,
};

static struct stv6110x_config tuner_mps2_0 = {
	.addr	= 0x60,
	.refclk	= 27000000,
	.clk_div = 1,
};

static struct stv6110x_config tuner_mps2_1 = {
	.addr	= 0x63,
	.refclk	= 27000000,
	.clk_div = 1,
};

static struct ngene_info ngene_info_mps2 = {