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

Commit 0a1aee54 authored by Pratham Pratap's avatar Pratham Pratap
Browse files

usb: gadget: gsi: Add wMaxPacketSize for FS IN/OUT EP



Vote wMaxPacketSize to 0x40 for RNDIS interface for full
speed IN/OUT endpoint to make the driver USB CH9 compliant.

Change-Id: Ia08faa243b43ee4c84c299489806d5b6749660de
Signed-off-by: default avatarPratham Pratap <prathampratap@codeaurora.org>
parent b3227c4f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -572,7 +572,7 @@ static struct usb_endpoint_descriptor rndis_gsi_fs_notify_desc = {
static struct usb_endpoint_descriptor rndis_gsi_fs_in_desc = {
	.bLength =		USB_DT_ENDPOINT_SIZE,
	.bDescriptorType =	USB_DT_ENDPOINT,

	.wMaxPacketSize =	cpu_to_le16(64),
	.bEndpointAddress =	USB_DIR_IN,
	.bmAttributes =		USB_ENDPOINT_XFER_BULK,
};
@@ -580,7 +580,7 @@ static struct usb_endpoint_descriptor rndis_gsi_fs_in_desc = {
static struct usb_endpoint_descriptor rndis_gsi_fs_out_desc = {
	.bLength =		USB_DT_ENDPOINT_SIZE,
	.bDescriptorType =	USB_DT_ENDPOINT,

	.wMaxPacketSize =	cpu_to_le16(64),
	.bEndpointAddress =	USB_DIR_OUT,
	.bmAttributes =		USB_ENDPOINT_XFER_BULK,
};