Skip to content

Commit

Permalink
[media] ce6230: use DVB USB macros
Browse files Browse the repository at this point in the history
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Antti Palosaari authored and Mauro Carvalho Chehab committed Aug 4, 2012
1 parent a1da814 commit 232b696
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions drivers/media/dvb/dvb-usb/ce6230.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ static int ce6230_zl10353_frontend_attach(struct dvb_usb_adapter *adap)
pr_debug("%s:\n", __func__);

adap->fe[0] = dvb_attach(zl10353_attach, &ce6230_zl10353_config,
&adap->dev->i2c_adap);
&adap_to_d(adap)->i2c_adap);
if (adap->fe[0] == NULL)
return -ENODEV;

Expand Down Expand Up @@ -209,7 +209,8 @@ static int ce6230_mxl5003s_tuner_attach(struct dvb_usb_adapter *adap)

pr_debug("%s:\n", __func__);

ret = dvb_attach(mxl5005s_attach, adap->fe[0], &adap->dev->i2c_adap,
ret = dvb_attach(mxl5005s_attach, adap->fe[0],
&adap_to_d(adap)->i2c_adap,
&ce6230_mxl5003s_config) == NULL ? -ENODEV : 0;
return ret;
}
Expand Down Expand Up @@ -251,7 +252,7 @@ static struct dvb_usb_device_properties ce6230_props = {
.endpoint = 0x82,
.u = {
.bulk = {
.buffersize = (16*512),
.buffersize = (16 * 512),
}
}
},
Expand Down

0 comments on commit 232b696

Please sign in to comment.