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

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
...@@ -687,9 +687,6 @@ static int cx24123_initfe(struct dvb_frontend* fe) ...@@ -687,9 +687,6 @@ static int cx24123_initfe(struct dvb_frontend* fe)
for (i = 0; i < sizeof(cx24123_regdata) / sizeof(cx24123_regdata[0]); i++) for (i = 0; i < sizeof(cx24123_regdata) / sizeof(cx24123_regdata[0]); i++)
cx24123_writereg(state, cx24123_regdata[i].reg, cx24123_regdata[i].data); 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 */ /* Configure the LNB for 14V */
if (state->config->use_isl6421) if (state->config->use_isl6421)
cx24123_writelnbreg(state, 0x0, 0x2a); cx24123_writelnbreg(state, 0x0, 0x2a);
......
...@@ -35,10 +35,6 @@ struct cx24123_config ...@@ -35,10 +35,6 @@ struct cx24123_config
*/ */
int use_isl6421; 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 */ /* Need to set device param for start_dma */
int (*set_ts_params)(struct dvb_frontend* fe, int is_punctured); int (*set_ts_params)(struct dvb_frontend* fe, int is_punctured);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment