gadgetfs: fops change not preserved on return from dev_config()

2014-10-22 Thread Andre Wolokita
Hi Felipe, I'm noticing some strange behaviour in the gadgetfs driver when running gadgetfs-test; the program fails with the error "ep0 read after poll: Invalid argument". As far as I understand, an inode is created upon an open() call in gadgetfs-test and an initial fops is assigned to the str

gadgetfs: fops change not preserved on return from dev_config()

2014-10-26 Thread Andre Wolokita
Hi Felipe, I'm noticing some strange behaviour in the gadgetfs driver when running gadgetfs-test; the program fails with the error "ep0 read after poll: Invalid argument". As far as I understand, an inode is created upon an open() call in gadgetfs-test and an initial fops is assigned to the str

Re: gadgetfs: fops change not preserved on return from dev_config()

2014-10-27 Thread Felipe Balbi
Hi, On Mon, Oct 27, 2014 at 10:31:42AM +1100, Andre Wolokita wrote: > I'm noticing some strange behaviour in the gadgetfs driver when > running gadgetfs-test; the program fails with the error "ep0 read > after poll: Invalid argument". > > As far as I understand, an inode is created upon an open()

Re: gadgetfs: fops change not preserved on return from dev_config()

2014-10-28 Thread Andre Wolokita
Hi Felipe, On 28/10/14 01:26, Felipe Balbi wrote: > Hi, > > On Mon, Oct 27, 2014 at 10:31:42AM +1100, Andre Wolokita wrote: >> I'm noticing some strange behaviour in the gadgetfs driver when >> running gadgetfs-test; the program fails with the error "ep0 read >> after poll: Invalid argument". >>

Re: gadgetfs: fops change not preserved on return from dev_config()

2014-11-03 Thread Felipe Balbi
On Wed, Oct 29, 2014 at 09:39:20AM +1100, Andre Wolokita wrote: > Hi Felipe, > > On 28/10/14 01:26, Felipe Balbi wrote: > > Hi, > > > > On Mon, Oct 27, 2014 at 10:31:42AM +1100, Andre Wolokita wrote: > >> I'm noticing some strange behaviour in the gadgetfs driver when > >> running gadgetfs-test;