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

Commit ff2a1791 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "usb: gadget: uac2: Change synchronization type of data ep to SYNC"

parents b45a6444 501498c2
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -281,7 +281,7 @@ static struct usb_endpoint_descriptor fs_epout_desc = {
	.bDescriptorType = USB_DT_ENDPOINT,

	.bEndpointAddress = USB_DIR_OUT,
	.bmAttributes = USB_ENDPOINT_XFER_ISOC | USB_ENDPOINT_SYNC_ASYNC,
	.bmAttributes = USB_ENDPOINT_XFER_ISOC | USB_ENDPOINT_SYNC_SYNC,
	.wMaxPacketSize = cpu_to_le16(1023),
	.bInterval = 1,
};
@@ -290,7 +290,7 @@ static struct usb_endpoint_descriptor hs_epout_desc = {
	.bLength = USB_DT_ENDPOINT_SIZE,
	.bDescriptorType = USB_DT_ENDPOINT,

	.bmAttributes = USB_ENDPOINT_XFER_ISOC | USB_ENDPOINT_SYNC_ASYNC,
	.bmAttributes = USB_ENDPOINT_XFER_ISOC | USB_ENDPOINT_SYNC_SYNC,
	.wMaxPacketSize = cpu_to_le16(1024),
	.bInterval = 4,
};
@@ -365,7 +365,7 @@ static struct usb_endpoint_descriptor fs_epin_desc = {
	.bDescriptorType = USB_DT_ENDPOINT,

	.bEndpointAddress = USB_DIR_IN,
	.bmAttributes = USB_ENDPOINT_XFER_ISOC | USB_ENDPOINT_SYNC_ASYNC,
	.bmAttributes = USB_ENDPOINT_XFER_ISOC | USB_ENDPOINT_SYNC_SYNC,
	.wMaxPacketSize = cpu_to_le16(1023),
	.bInterval = 1,
};
@@ -374,7 +374,7 @@ static struct usb_endpoint_descriptor hs_epin_desc = {
	.bLength = USB_DT_ENDPOINT_SIZE,
	.bDescriptorType = USB_DT_ENDPOINT,

	.bmAttributes = USB_ENDPOINT_XFER_ISOC | USB_ENDPOINT_SYNC_ASYNC,
	.bmAttributes = USB_ENDPOINT_XFER_ISOC | USB_ENDPOINT_SYNC_SYNC,
	.wMaxPacketSize = cpu_to_le16(1024),
	.bInterval = 4,
};