Hi Marek, On Sun, 21 Mar 2021 at 17:09, Marek Vasut <[email protected]> wrote: > > On 3/21/21 4:18 AM, Simon Glass wrote: > > Update usb_gadget_release() to use -ENOSYS, which is the correct error > > code for U-Boot. > > It would be good if you could explain _why_ this change is required. Why > is ENOSYS the correct return value ? It is not clear from the patch > description, sorry.
That is the value used throughout driver model, so it is a convention. As per the cover letter and one on the patches, people are not sure which one to use, because -ENOTSUPP has crept in in a few places. Regards, Simon

