Re: [PATCH] usb: gadget: f_fs: Only return delayed status when len is 0

2018-07-20 Thread Greg Kroah-Hartman
On Thu, Jul 19, 2018 at 08:48:32AM +0300, Felipe Balbi wrote: > > Hi, > > Jerry Zhang writes: > > Commit 1b9ba000 ("Allow function drivers to pause control > > transfers") states that USB_GADGET_DELAYED_STATUS is only > > supported if data phase is 0 bytes. > > > > It seems that when the length

Re: [PATCH] usb: gadget: f_fs: Only return delayed status when len is 0

2018-07-18 Thread Felipe Balbi
Hi, Jerry Zhang writes: > Commit 1b9ba000 ("Allow function drivers to pause control > transfers") states that USB_GADGET_DELAYED_STATUS is only > supported if data phase is 0 bytes. > > It seems that when the length is not 0 bytes, there is no > need to explicitly delay the data stage since the

Re: [PATCH] usb: gadget: f_fs: Only return delayed status when len is 0

2018-07-18 Thread Jerry Zhang
Hi Felipe, Can we get this patch into 4.19-rc6? The patch is simple and well understood and solves a real problem -- functionfs control requests will not work without it. Thanks, Jerry On Mon, Jul 2, 2018 at 12:48 PM Jerry Zhang wrote: > > Commit 1b9ba000 ("Allow function drivers to pause

[PATCH] usb: gadget: f_fs: Only return delayed status when len is 0

2018-07-02 Thread Jerry Zhang
Commit 1b9ba000 ("Allow function drivers to pause control transfers") states that USB_GADGET_DELAYED_STATUS is only supported if data phase is 0 bytes. It seems that when the length is not 0 bytes, there is no need to explicitly delay the data stage since the transfer is not completed until the