Re: [RFC v5 4/6] usb: gadget: configfs: Check USB configuration before adding

2020-08-31 Thread Wesley Cheng
On 8/30/2020 7:29 PM, Peter Chen wrote: > On 20-08-28 22:58:44, Wesley Cheng wrote: >> Ensure that the USB gadget is able to support the configuration being >> added based on the number of endpoints required from all interfaces. This >> is for accounting for any bandwidth or space limitations.

Re: [RFC v5 4/6] usb: gadget: configfs: Check USB configuration before adding

2020-08-30 Thread Peter Chen
On 20-08-28 22:58:44, Wesley Cheng wrote: > Ensure that the USB gadget is able to support the configuration being > added based on the number of endpoints required from all interfaces. This > is for accounting for any bandwidth or space limitations. > > Signed-off-by: Wesley Cheng > --- >

[RFC v5 4/6] usb: gadget: configfs: Check USB configuration before adding

2020-08-29 Thread Wesley Cheng
Ensure that the USB gadget is able to support the configuration being added based on the number of endpoints required from all interfaces. This is for accounting for any bandwidth or space limitations. Signed-off-by: Wesley Cheng --- drivers/usb/gadget/configfs.c | 22 ++ 1