On Tue, 6 Mar 2007 10:47:04 +0100, Oliver Neukum <[EMAIL PROTECTED]> wrote:

> this fixes the spinlock recursion issue. The older fix was incomplete.

> +++ b/drivers/usb/class/cdc-acm.c     2007-03-06 10:39:55.000000000 +0100
> @@ -332,9 +332,9 @@
>       if (!ACM_READY(acm))
>               return;
>  
> -     spin_lock(&acm->throttle_lock);
> +     spin_lock_irqsave(&acm->throttle_lock, flags);
>       throttled = acm->throttle;
> -     spin_unlock(&acm->throttle_lock);
> +     spin_unlock_irqrestore(&acm->throttle_lock, flags);

This looks good.

-- Pete

-------------------------------------------------------------------------
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