Commit 20b14562 authored by Andrew de Quincey's avatar Andrew de Quincey Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (3869): Convert cx24123 to refactored tuner code



Convert to tuner_ops calls.
Remove pll function pointers from structure.

Signed-off-by: default avatarAndrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent e994b8d9
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -687,9 +687,6 @@ static int cx24123_initfe(struct dvb_frontend* fe)
	for (i = 0; i < sizeof(cx24123_regdata) / sizeof(cx24123_regdata[0]); i++)
		cx24123_writereg(state, cx24123_regdata[i].reg, cx24123_regdata[i].data);

	if (state->config->pll_init)
		state->config->pll_init(fe);

	/* Configure the LNB for 14V */
	if (state->config->use_isl6421)
		cx24123_writelnbreg(state, 0x0, 0x2a);
+0 −4
Original line number Diff line number Diff line
@@ -35,10 +35,6 @@ struct cx24123_config
	*/
	int use_isl6421;

	/* PLL maintenance */
	int (*pll_init)(struct dvb_frontend* fe);
	int (*pll_set)(struct dvb_frontend* fe, struct dvb_frontend_parameters* params);

	/* Need to set device param for start_dma */
	int (*set_ts_params)(struct dvb_frontend* fe, int is_punctured);