Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 92657
b: refs/heads/master
c: 82cd2df
h: refs/heads/master
i:
  92655: 6638a6d
v: v3
  • Loading branch information
Matthias Schwarzott authored and Mauro Carvalho Chehab committed Apr 24, 2008
1 parent 3648d3b commit f3b2d74
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 1881ee89e0fe03ac5bba9045acb3bea1818f9466
refs/heads/master: 82cd2dff4a5562a081c8bbf449a1ae7b9ecb5b1b
5 changes: 4 additions & 1 deletion trunk/drivers/media/dvb/frontends/mt312.c
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ static int mt312_initfe(struct dvb_frontend *fe)
MT312_SYS_CLK) * 2, 1000000);

/* DISEQC_RATIO */
buf[1] = mt312_div(MT312_PLL_CLK, 15000 * 4);
buf[1] = mt312_div(MT312_PLL_CLK, 22000 * 4);

ret = mt312_write(state, SYS_CLK, buf, sizeof(buf));
if (ret < 0)
Expand Down Expand Up @@ -323,6 +323,9 @@ static int mt312_send_master_cmd(struct dvb_frontend *fe,
if (ret < 0)
return ret;

/* is there a better way to wait for message to be transmitted */
msleep(100);

/* set DISEQC_MODE[2:0] to zero if a return message is expected */
if (c->msg[0] & 0x02) {
ret = mt312_writereg(state, DISEQC_MODE, (diseqc_mode & 0x40));
Expand Down

0 comments on commit f3b2d74

Please sign in to comment.