Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 285507
b: refs/heads/master
c: 31b4f32
h: refs/heads/master
i:
  285505: 8605444
  285503: ac7b78c
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Dec 31, 2011
1 parent b571928 commit 3fbec06
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1ac6a854ad444680bffbacd9e340e40c75adc367
refs/heads/master: 31b4f32c26d5a1999abb0e8ab308f80b4f4760c7
11 changes: 5 additions & 6 deletions trunk/drivers/media/dvb/frontends/cx24123.c
Original file line number Diff line number Diff line change
Expand Up @@ -601,8 +601,7 @@ static int cx24123_pll_calculate(struct dvb_frontend *fe,
* Tuner cx24109 is written through a dedicated 3wire interface
* on the demod chip.
*/
static int cx24123_pll_writereg(struct dvb_frontend *fe,
struct dvb_frontend_parameters *p, u32 data)
static int cx24123_pll_writereg(struct dvb_frontend *fe, u32 data)
{
struct cx24123_state *state = fe->demodulator_priv;
unsigned long timeout;
Expand Down Expand Up @@ -673,12 +672,12 @@ static int cx24123_pll_tune(struct dvb_frontend *fe,
}

/* Write the new VCO/VGA */
cx24123_pll_writereg(fe, p, state->VCAarg);
cx24123_pll_writereg(fe, p, state->VGAarg);
cx24123_pll_writereg(fe, state->VCAarg);
cx24123_pll_writereg(fe, state->VGAarg);

/* Write the new bandselect and pll args */
cx24123_pll_writereg(fe, p, state->bandselectarg);
cx24123_pll_writereg(fe, p, state->pllarg);
cx24123_pll_writereg(fe, state->bandselectarg);
cx24123_pll_writereg(fe, state->pllarg);

/* set the FILTUNE voltage */
val = cx24123_readreg(state, 0x28) & ~0x3;
Expand Down

0 comments on commit 3fbec06

Please sign in to comment.