Am Dienstag, 11. Juli 2006 21:22 schrieb Manuel Naranjo: > > | > | + > > | > | + port->write_urb_busy = 1; > > | > > > | > Shouldn't you protect this with the spinlock? > > | You mean making an spinlock before changing the value, and > > | a spinunlock after changing the value? > > > > Yes, but I just checked and it seems that all the drivers which uses it > > does exactly what you did. > > > > And now I wonder whether they're buggy or not. > Don't have even an Idea. >
IIRC this is called already under spinlock. Thus the drivers are correct. Regards Oliver ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel