Re: [RFC] usb: gadget: libcomposite: provide usb_get_cdesc()

2014-12-02 Thread Sebastian Andrzej Siewior
On 11/27/2014 11:09 AM, Andrzej Pietrasiewicz wrote: > Hi Sebastian, Hi Andrzej, >> +struct usb_descriptor_header *usb_get_cdesc(struct >> usb_descriptor_header **hdr, >> + struct usb_descriptor_header *desc, >> + struct usb_descriptor_header **c) >

Re: [RFC] usb: gadget: libcomposite: provide usb_get_cdesc()

2014-11-27 Thread Andrzej Pietrasiewicz
Hi Sebastian, W dniu 25.11.2014 o 18:35, Sebastian Andrzej Siewior pisze: We have global descriptors. This is okay as long as we use them read-only. Writting the endpoint address is not *that* bad as long as two functions of the same kind are not used in parallel. Any suggestions, ideas?