Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 330643
b: refs/heads/master
c: 2731d4e
h: refs/heads/master
i:
  330641: 525e910
  330639: ca1c8a5
v: v3
  • Loading branch information
Antti Palosaari authored and Mauro Carvalho Chehab committed Aug 4, 2012
1 parent 3f1b8df commit 470f4f1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 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: 232b6968b1296ccd4086867c9890b6f55a65256e
refs/heads/master: 2731d4ed77e3a58cd44584e3741c8f3e30956e9b
17 changes: 4 additions & 13 deletions trunk/drivers/media/dvb/dvb-usb/ec168.c
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ static int ec168_ec100_frontend_attach(struct dvb_usb_adapter *adap)
{
pr_debug("%s:\n", __func__);
adap->fe[0] = dvb_attach(ec100_attach, &ec168_ec100_config,
&adap->dev->i2c_adap);
&adap_to_d(adap)->i2c_adap);
if (adap->fe[0] == NULL)
return -ENODEV;

Expand Down Expand Up @@ -299,7 +299,7 @@ static int ec168_mxl5003s_tuner_attach(struct dvb_usb_adapter *adap)
{
pr_debug("%s:\n", __func__);
return dvb_attach(mxl5005s_attach, adap->fe[0],
&adap->dev->i2c_adap,
&adap_to_d(adap)->i2c_adap,
&ec168_mxl5003s_config) == NULL ? -ENODEV : 0;
}

Expand All @@ -309,7 +309,7 @@ static int ec168_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff)
pr_debug("%s: onoff=%d\n", __func__, onoff);
if (onoff)
req.index = 0x0102;
return ec168_ctrl_msg(adap->dev, &req);
return ec168_ctrl_msg(adap_to_d(adap), &req);
}

/* DVB USB Driver stuff */
Expand All @@ -333,16 +333,7 @@ static struct dvb_usb_device_properties ec168_props = {
.num_adapters = 1,
.adapter = {
{
.stream = {
.type = USB_BULK,
.count = 6,
.endpoint = 0x82,
.u = {
.bulk = {
.buffersize = (32*512),
}
}
},
.stream = DVB_USB_STREAM_BULK(0x82, 6, 32 * 512),
}
},
};
Expand Down

0 comments on commit 470f4f1

Please sign in to comment.