Commit 6c3b97fb authored by Jose Alberto Reguero's avatar Jose Alberto Reguero Committed by Mauro Carvalho Chehab

V4L/DVB (12753): af9015: [1/2] fix USB TS configuration

Fix wrongly configured USB2.0 TS EP.
Signed-off-by: default avatarJose Alberto Reguero <jareguero@telefonica.net>
Signed-off-by: default avatarAntti Palosaari <crope@iki.fi>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 03256aa4
...@@ -874,7 +874,7 @@ static int af9015_read_config(struct usb_device *udev) ...@@ -874,7 +874,7 @@ static int af9015_read_config(struct usb_device *udev)
af9015_config.dual_mode = 0; af9015_config.dual_mode = 0;
} else { } else {
af9015_properties[i].adapter[0].stream.u.bulk.buffersize 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[] = { ...@@ -1310,7 +1310,7 @@ static struct dvb_usb_device_properties af9015_properties[] = {
.u = { .u = {
.bulk = { .bulk = {
.buffersize = .buffersize =
TS_USB20_MAX_PACKET_SIZE, TS_USB20_FRAME_SIZE,
} }
} }
}, },
...@@ -1416,7 +1416,7 @@ static struct dvb_usb_device_properties af9015_properties[] = { ...@@ -1416,7 +1416,7 @@ static struct dvb_usb_device_properties af9015_properties[] = {
.u = { .u = {
.bulk = { .bulk = {
.buffersize = .buffersize =
TS_USB20_MAX_PACKET_SIZE, TS_USB20_FRAME_SIZE,
} }
} }
}, },
...@@ -1522,7 +1522,7 @@ static struct dvb_usb_device_properties af9015_properties[] = { ...@@ -1522,7 +1522,7 @@ static struct dvb_usb_device_properties af9015_properties[] = {
.u = { .u = {
.bulk = { .bulk = {
.buffersize = .buffersize =
TS_USB20_MAX_PACKET_SIZE, TS_USB20_FRAME_SIZE,
} }
} }
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment