V4L/DVB (12753): af9015: [1/2] fix USB TS configuration
authorJose Alberto Reguero <jareguero@telefonica.net>
Sat, 12 Sep 2009 12:51:36 +0000 (09:51 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 19 Sep 2009 02:47:52 +0000 (23:47 -0300)
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>
drivers/media/dvb/dvb-usb/af9015.c

index 99cdd0d101cac01cc042768eda00db00a7677a57..03838e629e06957ac4a00cf2c5b00c90fd0456c0 100644 (file)
@@ -874,7 +874,7 @@ static int af9015_read_config(struct usb_device *udev)
                        af9015_config.dual_mode = 0;
                } else {
                        af9015_properties[i].adapter[0].stream.u.bulk.buffersize
-                               = TS_USB20_MAX_PACKET_SIZE;
+                               = TS_USB20_FRAME_SIZE;
                }
        }
 
@@ -1310,7 +1310,7 @@ static struct dvb_usb_device_properties af9015_properties[] = {
                                        .u = {
                                                .bulk = {
                                                        .buffersize =
-                                               TS_USB20_MAX_PACKET_SIZE,
+                                               TS_USB20_FRAME_SIZE,
                                                }
                                        }
                                },
@@ -1416,7 +1416,7 @@ static struct dvb_usb_device_properties af9015_properties[] = {
                                        .u = {
                                                .bulk = {
                                                        .buffersize =
-                                               TS_USB20_MAX_PACKET_SIZE,
+                                               TS_USB20_FRAME_SIZE,
                                                }
                                        }
                                },
@@ -1522,7 +1522,7 @@ static struct dvb_usb_device_properties af9015_properties[] = {
                                        .u = {
                                                .bulk = {
                                                        .buffersize =
-                                               TS_USB20_MAX_PACKET_SIZE,
+                                               TS_USB20_FRAME_SIZE,
                                                }
                                        }
                                },