Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 192683
b: refs/heads/master
c: e5cc2bf
h: refs/heads/master
i:
  192681: 2588a71
  192679: 38e39e6
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed May 18, 2010
1 parent b2e1c35 commit f11e80f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 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: 6eb5c8a6c82d7c753ea52df94ea2ff096b5aba96
refs/heads/master: e5cc2bf4450fd9739534e690cc16efc140d7b7fc
5 changes: 4 additions & 1 deletion trunk/drivers/media/common/tuners/tuner-xc2028.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ struct xc2028_data {
if (size != _rc) \
tuner_info("i2c output error: rc = %d (should be %d)\n",\
_rc, (int)size); \
msleep(priv->ctrl.msleep); \
_rc; \
})

Expand All @@ -119,6 +120,7 @@ struct xc2028_data {
if (isize != _rc) \
tuner_err("i2c input error: rc = %d (should be %d)\n", \
_rc, (int)isize); \
msleep(priv->ctrl.msleep); \
_rc; \
})

Expand All @@ -130,7 +132,7 @@ struct xc2028_data {
_val, sizeof(_val)))) { \
tuner_err("Error on line %d: %d\n", __LINE__, _rc); \
} else \
msleep(10); \
msleep(priv->ctrl.msleep); \
_rc; \
})

Expand Down Expand Up @@ -996,6 +998,7 @@ static int generic_set_freq(struct dvb_frontend *fe, u32 freq /* in HZ */,
The reset CLK is needed only with tm6000.
Driver should work fine even if this fails.
*/
msleep(priv->ctrl.msleep);
do_tuner_callback(fe, XC2028_RESET_CLK, 1);

msleep(10);
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/media/common/tuners/tuner-xc2028.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ enum firmware_type {
struct xc2028_ctrl {
char *fname;
int max_len;
int msleep;
unsigned int scode_table;
unsigned int mts :1;
unsigned int input1:1;
Expand Down

0 comments on commit f11e80f

Please sign in to comment.