Re: [PATCH v5 4/6] usb: gadget: add mechanism to specify an explicit status stage

2019-01-23 Thread Paul Elder
On Wed, Jan 23, 2019 at 04:10:12PM -0500, Alan Stern wrote: > On Mon, 14 Jan 2019, Paul Elder wrote: > > > On Fri, Jan 11, 2019 at 10:50:11AM -0500, Alan Stern wrote: > > > On Fri, 11 Jan 2019, Paul Elder wrote: > > > > > > > On Wed, Jan 09, 2019 at 02:06:31PM -0500, Alan Stern wrote: > > > > >

Re: [PATCH v5 4/6] usb: gadget: add mechanism to specify an explicit status stage

2019-01-23 Thread Alan Stern
On Mon, 14 Jan 2019, Paul Elder wrote: > On Fri, Jan 11, 2019 at 10:50:11AM -0500, Alan Stern wrote: > > On Fri, 11 Jan 2019, Paul Elder wrote: > > > > > On Wed, Jan 09, 2019 at 02:06:31PM -0500, Alan Stern wrote: > > > > On Wed, 9 Jan 2019, Paul Elder wrote: > > > > > > > > > A usb gadget

Re: [PATCH v5 4/6] usb: gadget: add mechanism to specify an explicit status stage

2019-01-20 Thread Paul Elder
On Fri, Jan 18, 2019 at 11:52:57AM -0500, Alan Stern wrote: > On Fri, 18 Jan 2019, Paul Elder wrote: > > > > > I meant the functions (procedures) in the function driver, so the setup > > > > handler (uvc_function_setup), the completion handler > > > > (uvc_function_ep0_complete), and the status

Re: [PATCH v5 4/6] usb: gadget: add mechanism to specify an explicit status stage

2019-01-18 Thread Alan Stern
On Fri, 18 Jan 2019, Paul Elder wrote: > > > I meant the functions (procedures) in the function driver, so the setup > > > handler (uvc_function_setup), the completion handler > > > (uvc_function_ep0_complete), and the status sender (uvc_send_response), > > > although the last one actually sends

Re: [PATCH v5 4/6] usb: gadget: add mechanism to specify an explicit status stage

2019-01-18 Thread Paul Elder
On Wed, Jan 16, 2019 at 10:06:53AM -0500, Alan Stern wrote: > On Wed, 16 Jan 2019, Paul Elder wrote: > > > On Mon, Jan 14, 2019 at 10:24:44AM -0500, Alan Stern wrote: > > > On Mon, 14 Jan 2019, Paul Elder wrote: > > > > > > > > > > Can you check your uvc > > > > > > > changes using dummy_hcd

Re: [PATCH v5 4/6] usb: gadget: add mechanism to specify an explicit status stage

2019-01-16 Thread Alan Stern
On Wed, 16 Jan 2019, Paul Elder wrote: > On Mon, Jan 14, 2019 at 10:24:44AM -0500, Alan Stern wrote: > > On Mon, 14 Jan 2019, Paul Elder wrote: > > > > > > > > Can you check your uvc > > > > > > changes using dummy_hcd with the patch below? > > > > > > > > > > I'm not sure what to make of the

Re: [PATCH v5 4/6] usb: gadget: add mechanism to specify an explicit status stage

2019-01-15 Thread Paul Elder
On Mon, Jan 14, 2019 at 10:24:44AM -0500, Alan Stern wrote: > On Mon, 14 Jan 2019, Paul Elder wrote: > > > > > > Can you check your uvc > > > > > changes using dummy_hcd with the patch below? > > > > > > > > I'm not sure what to make of the test results. I get the same results > > > > with or

Re: [PATCH v5 4/6] usb: gadget: add mechanism to specify an explicit status stage

2019-01-14 Thread Alan Stern
On Mon, 14 Jan 2019, Paul Elder wrote: > > > > Can you check your uvc > > > > changes using dummy_hcd with the patch below? > > > > > > I'm not sure what to make of the test results. I get the same results > > > with or without the patch. Which I guess makes sense... in dummy_queue, > > > this

Re: [PATCH v5 4/6] usb: gadget: add mechanism to specify an explicit status stage

2019-01-13 Thread Paul Elder
On Fri, Jan 11, 2019 at 10:50:11AM -0500, Alan Stern wrote: > On Fri, 11 Jan 2019, Paul Elder wrote: > > > On Wed, Jan 09, 2019 at 02:06:31PM -0500, Alan Stern wrote: > > > On Wed, 9 Jan 2019, Paul Elder wrote: > > > > > > > A usb gadget function driver may or may not want to delay the status >

Re: [PATCH v5 4/6] usb: gadget: add mechanism to specify an explicit status stage

2019-01-11 Thread Alan Stern
On Fri, 11 Jan 2019, Paul Elder wrote: > On Wed, Jan 09, 2019 at 02:06:31PM -0500, Alan Stern wrote: > > On Wed, 9 Jan 2019, Paul Elder wrote: > > > > > A usb gadget function driver may or may not want to delay the status > > > stage of a control OUT request. An instance where it might want to

Re: [PATCH v5 4/6] usb: gadget: add mechanism to specify an explicit status stage

2019-01-11 Thread Paul Elder
On Wed, Jan 09, 2019 at 02:06:31PM -0500, Alan Stern wrote: > On Wed, 9 Jan 2019, Paul Elder wrote: > > > A usb gadget function driver may or may not want to delay the status > > stage of a control OUT request. An instance where it might want to is to > > asynchronously validate the data of a

Re: [PATCH v5 4/6] usb: gadget: add mechanism to specify an explicit status stage

2019-01-09 Thread Alan Stern
On Wed, 9 Jan 2019, Paul Elder wrote: > A usb gadget function driver may or may not want to delay the status > stage of a control OUT request. An instance where it might want to is to > asynchronously validate the data of a class-specific request. > > A function driver that wants an explicit

[PATCH v5 4/6] usb: gadget: add mechanism to specify an explicit status stage

2019-01-08 Thread Paul Elder
A usb gadget function driver may or may not want to delay the status stage of a control OUT request. An instance where it might want to is to asynchronously validate the data of a class-specific request. A function driver that wants an explicit status stage should set the newly added