Re: [PATCH USB v3 3/5] usb: raw-gadget: fix gadget endpoint selection

2020-05-09 Thread Andrey Konovalov
On Sat, May 9, 2020 at 10:00 AM Felipe Balbi wrote: > > Andrey Konovalov writes: > > > Currently automatic gadget endpoint selection based on required features > > doesn't work. Raw Gadget tries iterating over the list of available > > endpoints and finding one that has the right direction and

Re: [PATCH USB v3 3/5] usb: raw-gadget: fix gadget endpoint selection

2020-05-09 Thread Felipe Balbi
Andrey Konovalov writes: > Currently automatic gadget endpoint selection based on required features > doesn't work. Raw Gadget tries iterating over the list of available > endpoints and finding one that has the right direction and transfer type. > Unfortunately selecting arbitrary gadget

[PATCH USB v3 3/5] usb: raw-gadget: fix gadget endpoint selection

2020-05-07 Thread Andrey Konovalov
Currently automatic gadget endpoint selection based on required features doesn't work. Raw Gadget tries iterating over the list of available endpoints and finding one that has the right direction and transfer type. Unfortunately selecting arbitrary gadget endpoints (even if they satisfy feature