diff options
author | Robert Baldyga <r.baldyga@samsung.com> | 2015-01-05 10:44:44 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-01-12 12:13:29 -0600 |
commit | a7657a93d63d87399b53d15999e77973b4f02cf3 (patch) | |
tree | 85d2eeb582d320ebaf3b155e21ece6a7e9851484 /tools | |
parent | 7acc9973e3c42de9926b28eec8ae3434dfdde3be (diff) | |
download | blackbird-op-linux-a7657a93d63d87399b53d15999e77973b4f02cf3.tar.gz blackbird-op-linux-a7657a93d63d87399b53d15999e77973b4f02cf3.zip |
tools: ffs-aio-example: add missing wMaxPacketSize for HS descs
It's needed, to have more than 64 bytes of maxpacketsize.
Signed-off-by: Robert Baldyga <r.baldyga@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/usb/ffs-aio-example/simple/device_app/aio_simple.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/usb/ffs-aio-example/simple/device_app/aio_simple.c b/tools/usb/ffs-aio-example/simple/device_app/aio_simple.c index adc310a6d489..1f44a29818bf 100644 --- a/tools/usb/ffs-aio-example/simple/device_app/aio_simple.c +++ b/tools/usb/ffs-aio-example/simple/device_app/aio_simple.c @@ -103,12 +103,14 @@ static const struct { .bDescriptorType = USB_DT_ENDPOINT, .bEndpointAddress = 1 | USB_DIR_IN, .bmAttributes = USB_ENDPOINT_XFER_BULK, + .wMaxPacketSize = htole16(512), }, .bulk_source = { .bLength = sizeof(descriptors.hs_descs.bulk_source), .bDescriptorType = USB_DT_ENDPOINT, .bEndpointAddress = 2 | USB_DIR_OUT, .bmAttributes = USB_ENDPOINT_XFER_BULK, + .wMaxPacketSize = htole16(512), }, }, }; |