Re: [PATCH] usb: gadget: provide interface for legacy gadgets to get UDC name

2016-02-08 Thread Marek Szyprowski
Hello, On 2016-02-08 12:31, Vegard Nossum wrote: On 02/08/2016 12:12 PM, Marek Szyprowski wrote: Since commit 855ed04a3758b205e84b269f92d26ab36ed8e2f7 ("usb: gadget: udc-core: independent registration of gadgets and gadget drivers") gadget drivers can not assume that UDC drivers are already a

Re: [PATCH] usb: gadget: provide interface for legacy gadgets to get UDC name

2016-02-08 Thread Vegard Nossum
On 02/08/2016 12:12 PM, Marek Szyprowski wrote: Since commit 855ed04a3758b205e84b269f92d26ab36ed8e2f7 ("usb: gadget: udc-core: independent registration of gadgets and gadget drivers") gadget drivers can not assume that UDC drivers are already available on their initialization. This broke the HACK

[PATCH] usb: gadget: provide interface for legacy gadgets to get UDC name

2016-02-08 Thread Marek Szyprowski
Since commit 855ed04a3758b205e84b269f92d26ab36ed8e2f7 ("usb: gadget: udc-core: independent registration of gadgets and gadget drivers") gadget drivers can not assume that UDC drivers are already available on their initialization. This broke the HACK, which was used in gadgetfs driver, to get UDC co