Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 343873
b: refs/heads/master
c: 8e216e5
h: refs/heads/master
i:
  343871: 49a07aa
v: v3
  • Loading branch information
Malcolm Priestley authored and Mauro Carvalho Chehab committed Oct 28, 2012
1 parent ffc6f35 commit 37de680
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 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: 684259353666b05a148cc70dfeed8e699daedbcd
refs/heads/master: 8e216e50ddca0550ffd477ce27e843a506b3ae2e
10 changes: 8 additions & 2 deletions trunk/drivers/media/usb/dvb-usb-v2/it913x.c
Original file line number Diff line number Diff line change
Expand Up @@ -659,13 +659,19 @@ static int it913x_frontend_attach(struct dvb_usb_adapter *adap)
it913x_wr_reg(d, DEV_0_DMOD, MP2IF2_SW_RST, 0x1);
it913x_wr_reg(d, DEV_0, EP0_TX_EN, 0x0f);
it913x_wr_reg(d, DEV_0, EP0_TX_NAK, 0x1b);
it913x_wr_reg(d, DEV_0, EP0_TX_EN, 0x2f);
if (st->proprietary_ir == false) /* Enable endpoint 3 */
it913x_wr_reg(d, DEV_0, EP0_TX_EN, 0x3f);
else
it913x_wr_reg(d, DEV_0, EP0_TX_EN, 0x2f);
it913x_wr_reg(d, DEV_0, EP4_TX_LEN_LSB,
ep_size & 0xff);
it913x_wr_reg(d, DEV_0, EP4_TX_LEN_MSB, ep_size >> 8);
ret = it913x_wr_reg(d, DEV_0, EP4_MAX_PKT, pkt_size);
} else if (adap->id == 1 && adap->fe[0]) {
it913x_wr_reg(d, DEV_0, EP0_TX_EN, 0x6f);
if (st->proprietary_ir == false)
it913x_wr_reg(d, DEV_0, EP0_TX_EN, 0x7f);
else
it913x_wr_reg(d, DEV_0, EP0_TX_EN, 0x6f);
it913x_wr_reg(d, DEV_0, EP5_TX_LEN_LSB,
ep_size & 0xff);
it913x_wr_reg(d, DEV_0, EP5_TX_LEN_MSB, ep_size >> 8);
Expand Down

0 comments on commit 37de680

Please sign in to comment.