Re: [PATCH v8 1/3] usb: gadget: f_fs: fix the redundant ep files problem

2014-09-09 Thread Felipe Balbi
On Tue, Sep 09, 2014 at 10:04:26AM -0500, Felipe Balbi wrote: > On Tue, Sep 09, 2014 at 08:23:15AM +0200, Robert Baldyga wrote: > > Up to now, when endpoint addresses in descriptors were non-consecutive, > > there were created redundant files, which could cause problems in kernel, > > when user tri

Re: [PATCH v8 1/3] usb: gadget: f_fs: fix the redundant ep files problem

2014-09-09 Thread Felipe Balbi
On Tue, Sep 09, 2014 at 08:23:15AM +0200, Robert Baldyga wrote: > Up to now, when endpoint addresses in descriptors were non-consecutive, > there were created redundant files, which could cause problems in kernel, > when user tried to read/write to them. It was result of fact that maximum > endpoin

[PATCH v8 1/3] usb: gadget: f_fs: fix the redundant ep files problem

2014-09-08 Thread Robert Baldyga
Up to now, when endpoint addresses in descriptors were non-consecutive, there were created redundant files, which could cause problems in kernel, when user tried to read/write to them. It was result of fact that maximum endpoint address was taken as total number of endpoints in funciton. This patc