Re: [PATCH 1/2] usb: gadget: f_fs: remove loop from I/O function

2013-11-11 Thread David Cohen
Hi Michal, On 11/10/2013 08:50 AM, Michal Nazarewicz wrote: From: Michal Nazarewicz When endpoint changes (due to it being disabled or alt setting changed), mimic the action as if the change happened after the request has been queued, instead of retrying with the new endpoint. Signed-off-by:

Re: [PATCH 1/2] usb: gadget: f_fs: remove loop from I/O function

2013-11-11 Thread Michal Nazarewicz
> On 11/10/2013 08:50 AM, Michal Nazarewicz wrote: >> +if (wait_event_interruptible(epfile->wait, (ep = epfile->ep))) { On Mon, Nov 11 2013, David Cohen wrote: > FYI this line fails checkpatch: > ERROR: do not use assignment in if condition > #70: FILE: drivers/usb/gadget/f_fs.c:777: >

Re: [PATCH 1/2] usb: gadget: f_fs: remove loop from I/O function

2013-11-11 Thread David Cohen
Hi Michal, On 11/10/2013 08:50 AM, Michal Nazarewicz wrote: From: Michal Nazarewicz When endpoint changes (due to it being disabled or alt setting changed), mimic the action as if the change happened after the request has been queued, instead of retrying with the new endpoint. Signed-off-by: