On Thu, Mar 29, 2007 at 02:25:34PM +0200, Oliver Neukum wrote:
> @@ -332,12 +330,12 @@
>  
>       dbg("%s - port %d", __FUNCTION__, port->number);
>  
> -     port->write_urb_busy = 0;
>       if (urb->status) {
>               dbg("%s - nonzero write bulk status received: %d", 
> __FUNCTION__, urb->status);
>               return;
>       }
> -
> +     smp_mb(); /* we are busy until we have read our status */

I don't understand why this is necessary, we shouldn't have to put this
all over our drivers, if so, something is really wrong.

thanks,

greg k-h

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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