Skip to content

Commit

Permalink
V4L/DVB (12753): af9015: [1/2] fix USB TS configuration
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jose Alberto Reguero authored and Mauro Carvalho Chehab committed Sep 19, 2009
1 parent 9254078 commit 353330c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/media/dvb/dvb-usb/af9015.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand Down Expand Up @@ -1310,7 +1310,7 @@ static struct dvb_usb_device_properties af9015_properties[] = {
.u = {
.bulk = {
.buffersize =
TS_USB20_MAX_PACKET_SIZE,
TS_USB20_FRAME_SIZE,
}
}
},
Expand Down Expand Up @@ -1416,7 +1416,7 @@ static struct dvb_usb_device_properties af9015_properties[] = {
.u = {
.bulk = {
.buffersize =
TS_USB20_MAX_PACKET_SIZE,
TS_USB20_FRAME_SIZE,
}
}
},
Expand Down Expand Up @@ -1522,7 +1522,7 @@ static struct dvb_usb_device_properties af9015_properties[] = {
.u = {
.bulk = {
.buffersize =
TS_USB20_MAX_PACKET_SIZE,
TS_USB20_FRAME_SIZE,
}
}
},
Expand Down

0 comments on commit 353330c

Please sign in to comment.