On Thu, 3 May 2007, Chris Rankin wrote:

> --- Tejun Heo <[EMAIL PROTECTED]> wrote:
> > I see.  They're static alright.  That leaves us with sd pointing to
> > the wrong attr.  I'll take a look whether that's possible.
> 
> I put a few printks in sysfs_remove_file() to see precisely what winecfg is 
> doing, and it looks as
> if the ALSA OSS emulation layer is repeatedly choosing which interface it 
> should be using for the
> webcam's microphone device:

There's nothing wrong with that.  A driver is allowed to change its
interface's altsetting (i.e., call usb_set_interface()) whenever it wants
to.  There isn't even a locking requirement.

> So does this imply there's a race condition in here somewhere?

There may indeed be a race condition somewhere, but so far you haven't
proved there is or pinned down exactly where.

Alan Stern


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to