ChangeSet 1.865.28.5, 2002/12/19 12:09:18-08:00, [EMAIL PROTECTED]
[PATCH] USB: more spinlock work for speedtouch
- simple spinlocks will do
diff -Nru a/drivers/usb/misc/speedtouch.c b/drivers/usb/misc/speedtouch.c
--- a/drivers/usb/misc/speedtouch.c Sun Dec 22 00:41:25 2002
+++ b/drivers/usb/misc/speedtouch.c Sun Dec 22 00:41:25 2002
@@ -701,7 +701,6 @@
{
struct udsl_data_ctx *ctx;
struct udsl_instance_data *instance;
- unsigned long flags;
if (!urb)
return;
@@ -723,9 +722,9 @@
skb_put (ctx->skb, urb->actual_length);
/* queue the skb for processing and wake the SAR */
- spin_lock_irqsave (&instance->recvqlock, flags);
+ spin_lock (&instance->recvqlock);
skb_queue_tail (&instance->recvqueue, ctx->skb);
- spin_unlock_irqrestore (&instance->recvqlock, flags);
+ spin_unlock (&instance->recvqlock);
wake_up (&udsl_wqh);
/* get a new skb */
ctx->skb = dev_alloc_skb (UDSL_RECEIVE_BUFFER_SIZE);
-------------------------------------------------------
This SF.NET email is sponsored by: Order your Holiday Geek Presents Now!
Green Lasers, Hip Geek T-Shirts, Remote Control Tanks, Caffeinated Soap,
MP3 Players, XBox Games, Flying Saucers, WebCams, Smart Putty.
T H I N K G E E K . C O M http://www.thinkgeek.com/sf/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel