Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a7657a93 authored by Robert Baldyga's avatar Robert Baldyga Committed by Felipe Balbi
Browse files

tools: ffs-aio-example: add missing wMaxPacketSize for HS descs



It's needed, to have more than 64 bytes of maxpacketsize.

Signed-off-by: default avatarRobert Baldyga <r.baldyga@samsung.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 7acc9973
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -103,12 +103,14 @@ static const struct {
			.bDescriptorType = USB_DT_ENDPOINT,
			.bDescriptorType = USB_DT_ENDPOINT,
			.bEndpointAddress = 1 | USB_DIR_IN,
			.bEndpointAddress = 1 | USB_DIR_IN,
			.bmAttributes = USB_ENDPOINT_XFER_BULK,
			.bmAttributes = USB_ENDPOINT_XFER_BULK,
			.wMaxPacketSize = htole16(512),
		},
		},
		.bulk_source = {
		.bulk_source = {
			.bLength = sizeof(descriptors.hs_descs.bulk_source),
			.bLength = sizeof(descriptors.hs_descs.bulk_source),
			.bDescriptorType = USB_DT_ENDPOINT,
			.bDescriptorType = USB_DT_ENDPOINT,
			.bEndpointAddress = 2 | USB_DIR_OUT,
			.bEndpointAddress = 2 | USB_DIR_OUT,
			.bmAttributes = USB_ENDPOINT_XFER_BULK,
			.bmAttributes = USB_ENDPOINT_XFER_BULK,
			.wMaxPacketSize = htole16(512),
		},
		},
	},
	},
};
};