Re: [PATCH]generic usb serial driver

Greg KH <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
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
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.