Re: [PATCH v5] usb: gadget: udc: Handle gadget_connect failure during bind operation

From: Greg Kroah-Hartman
Date: Wed Sep 27 2023 - 04:25:22 EST


On Wed, Sep 27, 2023 at 01:00:27PM +0530, Krishna Kurapati wrote:
> In the event gadget_connect call (which invokes pullup) fails,
> propagate the error to udc bind operation which in turn sends the
> error to configfs. The userspace can then retry enumeration if
> it chooses to.

Will this break userspace that is not expecting error codes to be
returned? What userspace code will now be modified to handle this?
Where is that work happening?

thanks,

greg k-h