summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Alberto Reguero2009-09-12 14:51:36 +0200
committerMauro Carvalho Chehab2009-09-19 04:47:52 +0200
commit353330c3ebf01c8f436b41690d95ec1548b6f364 (patch)
tree23afc56ebcef577b7be0d13fb45e63e9a03d05ad
parentV4L/DVB (12752): get_dvb_firmware: add af9015 firmware (diff)
downloadkernel-qcow2-linux-353330c3ebf01c8f436b41690d95ec1548b6f364.tar.gz
kernel-qcow2-linux-353330c3ebf01c8f436b41690d95ec1548b6f364.tar.xz
kernel-qcow2-linux-353330c3ebf01c8f436b41690d95ec1548b6f364.zip
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>
-rw-r--r--drivers/media/dvb/dvb-usb/af9015.c8
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)
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,
}
}
},