Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 21681
b: refs/heads/master
c: 1e7eb89
h: refs/heads/master
i:
  21679: e91bf91
v: v3
  • Loading branch information
Manu Abraham authored and Mauro Carvalho Chehab committed Feb 27, 2006
1 parent 82eb4c6 commit 3d4f1ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3b81fec4328799e94789e8404e6e8b7218c096f6
refs/heads/master: 1e7eb89ba936fc1db54e247a336f3f55bdbc644d
3 changes: 3 additions & 0 deletions trunk/drivers/media/dvb/frontends/cx24110.c
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,9 @@ static int cx24110_send_diseqc_msg(struct dvb_frontend* fe,
struct cx24110_state *state = fe->demodulator_priv;
unsigned long timeout;

if (cmd->msg_len < 3 || cmd->msg_len > 6)
return -EINVAL; /* not implemented */

for (i = 0; i < cmd->msg_len; i++)
cx24110_writereg(state, 0x79 + i, cmd->msg[i]);

Expand Down

0 comments on commit 3d4f1ce

Please sign in to comment.