Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 202126
b: refs/heads/master
c: ce99efa
h: refs/heads/master
v: v3
  • Loading branch information
Antti Palosaari authored and Mauro Carvalho Chehab committed Aug 2, 2010
1 parent 8dc50a4 commit 69f2238
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 8af5e3813b78e429c1774bfac67033c3948c9c8e
refs/heads/master: ce99efa53ee2e7989b5f44243518f086977760a6
6 changes: 3 additions & 3 deletions trunk/drivers/media/dvb/frontends/af9013.c
Original file line number Diff line number Diff line change
Expand Up @@ -1578,7 +1578,7 @@ struct dvb_frontend *af9013_attach(const struct af9013_config *config,
{
int ret;
struct af9013_state *state = NULL;
u8 buf[3], i;
u8 buf[4], i;

/* allocate memory for the internal state */
state = kzalloc(sizeof(struct af9013_state), GFP_KERNEL);
Expand Down Expand Up @@ -1611,12 +1611,12 @@ struct dvb_frontend *af9013_attach(const struct af9013_config *config,
}

/* firmware version */
for (i = 0; i < 3; i++) {
for (i = 0; i < 4; i++) {
ret = af9013_read_reg(state, 0x5103 + i, &buf[i]);
if (ret)
goto error;
}
info("firmware version:%d.%d.%d", buf[0], buf[1], buf[2]);
info("firmware version:%d.%d.%d.%d", buf[0], buf[1], buf[2], buf[3]);

/* settings for mp2if */
if (state->config.output_mode == AF9013_OUTPUT_MODE_USB) {
Expand Down

0 comments on commit 69f2238

Please sign in to comment.