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

Commit a36e65e7 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 d635f485 9f2f5bcc
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -274,7 +274,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,
};
@@ -283,7 +283,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,
};
@@ -351,7 +351,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,
};
@@ -360,7 +360,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,
};