Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 367135
b: refs/heads/master
c: 226471a
h: refs/heads/master
i:
  367133: f08d059
  367131: 50543ad
  367127: 3a29189
  367119: f80d920
  367103: ca901e4
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Apr 17, 2013
1 parent a6158c6 commit a5ff749
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 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: 8678b03428b6894d146695980f04f26af7b9b3ec
refs/heads/master: 226471a18f5458d42aac52bca62ebd8edeb37a96
16 changes: 8 additions & 8 deletions trunk/drivers/media/tuners/r820t.c
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ static int r820t_write_reg_mask(struct r820t_priv *priv, u8 reg, u8 val,
return r820t_write(priv, reg, &val, 1);
}

static int r820_read(struct r820t_priv *priv, u8 reg, u8 *val, int len)
static int r820t_read(struct r820t_priv *priv, u8 reg, u8 *val, int len)
{
int rc, i;
u8 *p = &priv->buf[1];
Expand Down Expand Up @@ -573,7 +573,7 @@ static int r820t_set_pll(struct r820t_priv *priv, u32 freq)
mix_div = mix_div << 1;
}

rc = r820_read(priv, 0x00, data, sizeof(data));
rc = r820t_read(priv, 0x00, data, sizeof(data));
if (rc < 0)
return rc;

Expand Down Expand Up @@ -660,7 +660,7 @@ static int r820t_set_pll(struct r820t_priv *priv, u32 freq)
msleep(10);

/* Check if PLL has locked */
rc = r820_read(priv, 0x00, data, 3);
rc = r820t_read(priv, 0x00, data, 3);
if (rc < 0)
return rc;
if (data[2] & 0x40)
Expand Down Expand Up @@ -1062,7 +1062,7 @@ static int r820t_set_tv_standard(struct r820t_priv *priv,
return rc;

/* Check if calibration worked */
rc = r820_read(priv, 0x00, data, sizeof(data));
rc = r820t_read(priv, 0x00, data, sizeof(data));
if (rc < 0)
return rc;

Expand Down Expand Up @@ -1135,7 +1135,7 @@ static int r820t_read_gain(struct r820t_priv *priv)
u8 data[4];
int rc;

rc = r820_read(priv, 0x00, data, sizeof(data));
rc = r820t_read(priv, 0x00, data, sizeof(data));
if (rc < 0)
return rc;

Expand Down Expand Up @@ -1163,7 +1163,7 @@ static int r820t_set_gain_mode(struct r820t_priv *priv,
if (rc < 0)
return rc;

rc = r820_read(priv, 0x00, data, sizeof(data));
rc = r820t_read(priv, 0x00, data, sizeof(data));
if (rc < 0)
return rc;

Expand Down Expand Up @@ -1349,7 +1349,7 @@ static int r820t_xtal_check(struct r820t_priv *priv)

msleep(5);

rc = r820_read(priv, 0x00, data, sizeof(data));
rc = r820t_read(priv, 0x00, data, sizeof(data));
if (rc < 0)
return rc;
if ((!data[2]) & 0x40)
Expand Down Expand Up @@ -1621,7 +1621,7 @@ struct dvb_frontend *r820t_attach(struct dvb_frontend *fe,
fe->ops.i2c_gate_ctrl(fe, 1);

/* check if the tuner is there */
rc = r820_read(priv, 0x00, data, sizeof(data));
rc = r820t_read(priv, 0x00, data, sizeof(data));
if (rc < 0)
goto err;

Expand Down

0 comments on commit a5ff749

Please sign in to comment.