Re: [PATCH v5] usb: gadget: f_fs: add no_disconnect mode

2015-01-13 Thread Felipe Balbi
Hi, On Thu, Dec 18, 2014 at 09:55:10AM +0100, Robert Baldyga wrote: Since we can compose gadgets from many functions, there is the problem related to gadget breakage while FunctionFS daemon being closed. FFS function is userspace code so there is no way to know when it will close files (it

Re: [PATCH v5] usb: gadget: f_fs: add no_disconnect mode

2014-12-24 Thread Michal Nazarewicz
On Thu, Dec 18 2014, Robert Baldyga wrote: Since we can compose gadgets from many functions, there is the problem related to gadget breakage while FunctionFS daemon being closed. FFS function is userspace code so there is no way to know when it will close files (it doesn't matter what is the

Re: [PATCH v5] usb: gadget: f_fs: add no_disconnect mode

2014-12-23 Thread Felipe Balbi
On Thu, Dec 18, 2014 at 09:55:10AM +0100, Robert Baldyga wrote: Since we can compose gadgets from many functions, there is the problem related to gadget breakage while FunctionFS daemon being closed. FFS function is userspace code so there is no way to know when it will close files (it doesn't

Re: [PATCH v5] usb: gadget: f_fs: add no_disconnect mode

2014-12-23 Thread David Cohen
On Tue, Dec 23, 2014 at 12:48:58PM -0600, Felipe Balbi wrote: On Thu, Dec 18, 2014 at 09:55:10AM +0100, Robert Baldyga wrote: Since we can compose gadgets from many functions, there is the problem related to gadget breakage while FunctionFS daemon being closed. FFS function is userspace

Re: [PATCH v5] usb: gadget: f_fs: add no_disconnect mode

2014-12-23 Thread Felipe Balbi
On Tue, Dec 23, 2014 at 12:47:55PM -0800, David Cohen wrote: On Tue, Dec 23, 2014 at 12:48:58PM -0600, Felipe Balbi wrote: On Thu, Dec 18, 2014 at 09:55:10AM +0100, Robert Baldyga wrote: Since we can compose gadgets from many functions, there is the problem related to gadget breakage

[PATCH v5] usb: gadget: f_fs: add no_disconnect mode

2014-12-18 Thread Robert Baldyga
Since we can compose gadgets from many functions, there is the problem related to gadget breakage while FunctionFS daemon being closed. FFS function is userspace code so there is no way to know when it will close files (it doesn't matter what is the reason of this situation, it can be daemon