Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 76384
b: refs/heads/master
c: b873e1a
h: refs/heads/master
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Jan 25, 2008
1 parent 4e4d1d7 commit a4e4778
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: e7a2bc8a756e5c0adc6804dd7702442a06174b74
refs/heads/master: b873e1a3ccf9e04d2de85db0d510ec4b793fe569
4 changes: 2 additions & 2 deletions trunk/drivers/media/video/tuner-xc2028.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,13 @@ struct xc2028_data {
static int xc2028_get_reg(struct xc2028_data *priv, u16 reg)
{
int rc;
unsigned char buf[1];
unsigned char buf[2];

tuner_info("%s called\n", __FUNCTION__);

buf[0] = reg;

i2c_send(rc, priv, buf, sizeof(buf));
i2c_send(rc, priv, buf, 1);
if (rc < 0)
return rc;

Expand Down

0 comments on commit a4e4778

Please sign in to comment.