Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 76776
b: refs/heads/master
c: a162abb
h: refs/heads/master
v: v3
  • Loading branch information
Patrick Boettcher authored and Mauro Carvalho Chehab committed Jan 25, 2008
1 parent 3ab6456 commit 328cdee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: 853ea132c75ff2c4e3c3aaf61bf3ef5779774dbc
refs/heads/master: a162abb06bda3f38750a208e85e27f419798aa79
5 changes: 1 addition & 4 deletions trunk/drivers/media/dvb/dvb-usb/dib0700_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ int dib0700_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff)
u8 b[4];

b[0] = REQUEST_ENABLE_VIDEO;
b[1] = 0x00;
b[1] = (onoff << 4) | 0x00; /* this bit gives a kind of command, rather than enabling something or not */
b[2] = (0x01 << 4); /* Master mode */
b[3] = 0x00;

Expand All @@ -256,9 +256,6 @@ int dib0700_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff)

b[2] |= st->channel_state;

if (st->channel_state) /* if at least one channel is active */
b[1] = (0x01 << 4) | 0x00;

deb_info("data for streaming: %x %x\n",b[1],b[2]);

return dib0700_ctrl_wr(adap->dev, b, 4);
Expand Down

0 comments on commit 328cdee

Please sign in to comment.