Re: [RFC PATCH] usb:gadget: Fixed issue with config_ep_by_speed function.

From: Greg KH
Date: Tue Dec 10 2019 - 05:22:36 EST


On Mon, Dec 02, 2019 at 12:07:27PM +0100, Jayshri Pawar wrote:
> /**
> * config_ep_by_speed() - configures the given endpoint
> @@ -144,9 +146,11 @@ next_ep_desc(struct usb_descriptor_header **t)
> */
> int config_ep_by_speed(struct usb_gadget *g,
> struct usb_function *f,
> - struct usb_ep *_ep)
> + struct usb_ep *_ep,
> + unsigned alt)

Why did you not document this new parameter? It does not make sense to
me, what does it do, and how is it supposed to be used?

thanks,

greg k-h