Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 164093
b: refs/heads/master
c: cc7e26d
h: refs/heads/master
i:
  164091: 13bea10
v: v3
  • Loading branch information
Michael Krufky authored and Mauro Carvalho Chehab committed Sep 19, 2009
1 parent e9dd0bb commit a0a69a6
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 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: 4240b460f0dbb4bf4e3f64e6abd423f476012756
refs/heads/master: cc7e26d47f327a928e241b8d59b9203b469d692e
30 changes: 15 additions & 15 deletions trunk/drivers/media/common/tuners/tda18271-fe.c
Original file line number Diff line number Diff line change
Expand Up @@ -839,6 +839,21 @@ static int tda18271_init(struct dvb_frontend *fe)
return ret;
}

static int tda18271_sleep(struct dvb_frontend *fe)
{
struct tda18271_priv *priv = fe->tuner_priv;
int ret;

mutex_lock(&priv->lock);

/* enter standby mode, with required output features enabled */
ret = tda18271_toggle_output(fe, 1);

mutex_unlock(&priv->lock);

return ret;
}

/* ------------------------------------------------------------------ */

static int tda18271_agc(struct dvb_frontend *fe)
Expand Down Expand Up @@ -1031,21 +1046,6 @@ static int tda18271_set_analog_params(struct dvb_frontend *fe,
return ret;
}

static int tda18271_sleep(struct dvb_frontend *fe)
{
struct tda18271_priv *priv = fe->tuner_priv;
int ret;

mutex_lock(&priv->lock);

/* enter standby mode, with required output features enabled */
ret = tda18271_toggle_output(fe, 1);

mutex_unlock(&priv->lock);

return ret;
}

static int tda18271_release(struct dvb_frontend *fe)
{
struct tda18271_priv *priv = fe->tuner_priv;
Expand Down

0 comments on commit a0a69a6

Please sign in to comment.