Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 37369
b: refs/heads/master
c: 174ff21
h: refs/heads/master
i:
  37367: 40e6675
v: v3
  • Loading branch information
Yeasah Pell authored and Mauro Carvalho Chehab committed Sep 26, 2006
1 parent d10905e commit bfb4aad
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 18c053b3c5414c385f4a67134fd963b98881aa0d
refs/heads/master: 174ff219b7e3212f701f70c71860894716b0045b
25 changes: 25 additions & 0 deletions trunk/drivers/media/dvb/frontends/cx24123.c
Original file line number Diff line number Diff line change
Expand Up @@ -903,6 +903,29 @@ static int cx24123_set_tone(struct dvb_frontend* fe, fe_sec_tone_mode_t tone)
return 0;
}

static int cx24123_tune(struct dvb_frontend* fe,
struct dvb_frontend_parameters* params,
unsigned int mode_flags,
int *delay,
fe_status_t *status)
{
int retval = 0;

if (params != NULL)
retval = cx24123_set_frontend(fe, params);

if (!(mode_flags & FE_TUNE_MODE_ONESHOT))
cx24123_read_status(fe, status);
*delay = HZ/10;

return retval;
}

static int cx24123_get_algo(struct dvb_frontend *fe)
{
return 1; //FE_ALGO_HW
}

static void cx24123_release(struct dvb_frontend* fe)
{
struct cx24123_state* state = fe->demodulator_priv;
Expand Down Expand Up @@ -986,6 +1009,8 @@ static struct dvb_frontend_ops cx24123_ops = {
.diseqc_send_burst = cx24123_diseqc_send_burst,
.set_tone = cx24123_set_tone,
.set_voltage = cx24123_set_voltage,
.tune = cx24123_tune,
.get_frontend_algo = cx24123_get_algo,
};

module_param(debug, int, 0644);
Expand Down

0 comments on commit bfb4aad

Please sign in to comment.