Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 241837
b: refs/heads/master
c: b8bc77d
h: refs/heads/master
i:
  241835: dc8e0e7
v: v3
  • Loading branch information
Alina Friedrichsen authored and Mauro Carvalho Chehab committed Mar 21, 2011
1 parent 6e34226 commit 42f9f90
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: 2b97e2201eb76d56c4901d39e8ed276f2de0e2e9
refs/heads/master: b8bc77db1e23c6e141734511db873902c66bec8c
6 changes: 3 additions & 3 deletions trunk/drivers/media/common/tuners/tuner-xc2028.c
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ static int check_firmware(struct dvb_frontend *fe, unsigned int type,
{
struct xc2028_data *priv = fe->tuner_priv;
struct firmware_properties new_fw;
int rc = 0, is_retry = 0;
int rc = 0, retry_count = 0;
u16 version, hwmodel;
v4l2_std_id std0;

Expand Down Expand Up @@ -855,9 +855,9 @@ static int check_firmware(struct dvb_frontend *fe, unsigned int type,

fail:
memset(&priv->cur_fw, 0, sizeof(priv->cur_fw));
if (!is_retry) {
if (retry_count < 8) {
msleep(50);
is_retry = 1;
retry_count++;
tuner_dbg("Retrying firmware load\n");
goto retry;
}
Expand Down

0 comments on commit 42f9f90

Please sign in to comment.