mirror of
https://github.com/torvalds/linux.git
synced 2024-12-15 07:33:56 +00:00
V4L/DVB (3869): Convert cx24123 to refactored tuner code
Convert to tuner_ops calls. Remove pll function pointers from structure. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
parent
e994b8d978
commit
20b1456285
@ -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);
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user