diff options
author | Robert Baldyga <r.baldyga@samsung.com> | 2015-01-05 04:44:44 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-01-12 13:13:29 -0500 |
commit | a7657a93d63d87399b53d15999e77973b4f02cf3 (patch) | |
tree | 85d2eeb582d320ebaf3b155e21ece6a7e9851484 /tools | |
parent | 7acc9973e3c42de9926b28eec8ae3434dfdde3be (diff) |
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 { | |||
103 | .bDescriptorType = USB_DT_ENDPOINT, | 103 | .bDescriptorType = USB_DT_ENDPOINT, |
104 | .bEndpointAddress = 1 | USB_DIR_IN, | 104 | .bEndpointAddress = 1 | USB_DIR_IN, |
105 | .bmAttributes = USB_ENDPOINT_XFER_BULK, | 105 | .bmAttributes = USB_ENDPOINT_XFER_BULK, |
106 | .wMaxPacketSize = htole16(512), | ||
106 | }, | 107 | }, |
107 | .bulk_source = { | 108 | .bulk_source = { |
108 | .bLength = sizeof(descriptors.hs_descs.bulk_source), | 109 | .bLength = sizeof(descriptors.hs_descs.bulk_source), |
109 | .bDescriptorType = USB_DT_ENDPOINT, | 110 | .bDescriptorType = USB_DT_ENDPOINT, |
110 | .bEndpointAddress = 2 | USB_DIR_OUT, | 111 | .bEndpointAddress = 2 | USB_DIR_OUT, |
111 | .bmAttributes = USB_ENDPOINT_XFER_BULK, | 112 | .bmAttributes = USB_ENDPOINT_XFER_BULK, |
113 | .wMaxPacketSize = htole16(512), | ||
112 | }, | 114 | }, |
113 | }, | 115 | }, |
114 | }; | 116 | }; |