diff options
author | Jose Alberto Reguero <jareguero@telefonica.net> | 2009-09-12 08:51:36 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-09-18 22:47:52 -0400 |
commit | 353330c3ebf01c8f436b41690d95ec1548b6f364 (patch) | |
tree | 23afc56ebcef577b7be0d13fb45e63e9a03d05ad /drivers/media/dvb/dvb-usb/af9015.c | |
parent | 9254078c6b453ce02dab150189ed85744f254ddb (diff) |
V4L/DVB (12753): af9015: [1/2] fix USB TS configuration
Fix wrongly configured USB2.0 TS EP.
Signed-off-by: Jose Alberto Reguero <jareguero@telefonica.net>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/dvb-usb/af9015.c')
-rw-r--r-- | drivers/media/dvb/dvb-usb/af9015.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/dvb/dvb-usb/af9015.c b/drivers/media/dvb/dvb-usb/af9015.c index 99cdd0d101ca..03838e629e06 100644 --- a/drivers/media/dvb/dvb-usb/af9015.c +++ b/drivers/media/dvb/dvb-usb/af9015.c | |||
@@ -874,7 +874,7 @@ static int af9015_read_config(struct usb_device *udev) | |||
874 | af9015_config.dual_mode = 0; | 874 | af9015_config.dual_mode = 0; |
875 | } else { | 875 | } else { |
876 | af9015_properties[i].adapter[0].stream.u.bulk.buffersize | 876 | af9015_properties[i].adapter[0].stream.u.bulk.buffersize |
877 | = TS_USB20_MAX_PACKET_SIZE; | 877 | = TS_USB20_FRAME_SIZE; |
878 | } | 878 | } |
879 | } | 879 | } |
880 | 880 | ||
@@ -1310,7 +1310,7 @@ static struct dvb_usb_device_properties af9015_properties[] = { | |||
1310 | .u = { | 1310 | .u = { |
1311 | .bulk = { | 1311 | .bulk = { |
1312 | .buffersize = | 1312 | .buffersize = |
1313 | TS_USB20_MAX_PACKET_SIZE, | 1313 | TS_USB20_FRAME_SIZE, |
1314 | } | 1314 | } |
1315 | } | 1315 | } |
1316 | }, | 1316 | }, |
@@ -1416,7 +1416,7 @@ static struct dvb_usb_device_properties af9015_properties[] = { | |||
1416 | .u = { | 1416 | .u = { |
1417 | .bulk = { | 1417 | .bulk = { |
1418 | .buffersize = | 1418 | .buffersize = |
1419 | TS_USB20_MAX_PACKET_SIZE, | 1419 | TS_USB20_FRAME_SIZE, |
1420 | } | 1420 | } |
1421 | } | 1421 | } |
1422 | }, | 1422 | }, |
@@ -1522,7 +1522,7 @@ static struct dvb_usb_device_properties af9015_properties[] = { | |||
1522 | .u = { | 1522 | .u = { |
1523 | .bulk = { | 1523 | .bulk = { |
1524 | .buffersize = | 1524 | .buffersize = |
1525 | TS_USB20_MAX_PACKET_SIZE, | 1525 | TS_USB20_FRAME_SIZE, |
1526 | } | 1526 | } |
1527 | } | 1527 | } |
1528 | }, | 1528 | }, |