Re: Re: [PATCH 2/3] usb: gadget: composite: ability for USB functions to process control requests in config 0

2016-06-22 Thread Felix Hädicke
Hello, > Hi, > > Felix Hädicke writes: > > It can sometimes be necessary for gadget drivers to process non-standard > > control requests, which host devices can send without having sent > > USB_REQ_SET_CONFIGURATION. > > got an example? There are Android Open Accessory devices which do so. The

Re: [PATCH 2/3] usb: gadget: composite: ability for USB functions to process control requests in config 0

2016-06-22 Thread Felipe Balbi
Hi, Felix Hädicke writes: > It can sometimes be necessary for gadget drivers to process non-standard > control requests, which host devices can send without having sent > USB_REQ_SET_CONFIGURATION. got an example? -- balbi signature.asc Description: PGP signature

[PATCH 2/3] usb: gadget: composite: ability for USB functions to process control requests in config 0

2016-06-21 Thread Felix Hädicke
It can sometimes be necessary for gadget drivers to process non-standard control requests, which host devices can send without having sent USB_REQ_SET_CONFIGURATION. Therefore, the req_match() usb_function method is enhanced with the new parameter "config0". When a USB configuration is active, thi