Re: [PATCH] USB: gadget: usb function sourcesink and loopback support usb configfs

From: Greg KH
Date: Tue Aug 22 2023 - 08:34:57 EST


On Tue, Aug 01, 2023 at 03:42:23AM -0700, chengdong zhou wrote:
> There are currently two issues that causes sourcesink and loopback to
> fail to export to usb configfs:
> 1. usb_function.name does not match usb_function_driver.name
> 2. usb configfs does not support function name with '/'
>
> So, we adjusted usb_function.name to "sourcesink" and "loopback",
> and remove '/'

How has this ever worked? What userspace tools / apis did you just
break or change to get this to work?

this feels odd.

thanks

greg k-h