Re: [linux-usb-devel] gadgetfs_setup: missing unlock

2007-01-17 Thread David Brownell
On Wednesday 17 January 2007 3:05 am, Phil Endecott wrote: > Milan Svoboda posted a couple of small patches to fix this on 2006-12-15. I see them in my mailbox now; I recall wondering why sthat should take two patches! Regardless, the issue should now be fixed. - Dave -

Re: [linux-usb-devel] gadgetfs_setup: missing unlock

2007-01-17 Thread Phil Endecott
David Brownell wrote: > On Thursday 14 December 2006 9:34 am, Phil Endecott wrote: >> >> I am really new to this, please forgive me if I am on the wrong track. > > Nope, you were right -- this is a problem. Rare, but a problem. > Fixed by a patch I'm about to send ... > > >> In drivers/usb/gadget

Re: [linux-usb-devel] gadgetfs_setup: missing unlock

2007-01-16 Thread David Brownell
On Thursday 14 December 2006 9:34 am, Phil Endecott wrote: > > I am really new to this, please forgive me if I am on the wrong track. Nope, you were right -- this is a problem. Rare, but a problem. Fixed by a patch I'm about to send ... > In drivers/usb/gadget/inode.c, gadgetfs_setup(), there

[linux-usb-devel] gadgetfs_setup: missing unlock

2006-12-14 Thread Phil Endecott
Dear USB experts, I am really new to this, please forgive me if I am on the wrong track. In drivers/usb/gadget/inode.c, gadgetfs_setup(), there is some code like this: spin_lock (&dev->lock); [snip] dev->state = STATE_CONNECTED; if (gadget->spee