Hi,
this removes the spinlocks in close, so that
the synchronous unlinking is safe.
I think I got the obvious stuff now. Could somebody with such
a device please test it?
Regards
Oliver
You can import this changeset into BK by piping this whole message to:
'| bk receive [path to repository]' or apply the patch as usual.
===================================================================
[EMAIL PROTECTED], 2002-12-18 17:12:53+01:00, [EMAIL PROTECTED]
- remove spinlocks in close, so we can unlink synchronously
speedtouch.c | 3 ---
1 files changed, 3 deletions(-)
diff -Nru a/drivers/usb/misc/speedtouch.c b/drivers/usb/misc/speedtouch.c
--- a/drivers/usb/misc/speedtouch.c Wed Dec 18 17:13:13 2002
+++ b/drivers/usb/misc/speedtouch.c Wed Dec 18 17:13:13 2002
@@ -614,9 +614,7 @@
int udsl_usb_cancelsends (struct udsl_instance_data *instance, struct atm_vcc *vcc)
{
int i;
- unsigned long flags;
- spin_lock_irqsave (&instance->sndqlock, flags);
for (i = 0; i < UDSL_NUMBER_SND_URBS; i++) {
if (!instance->send_ctx[i].skb)
continue;
@@ -628,7 +626,6 @@
instance->send_ctx[i].skb = NULL;
}
}
- spin_unlock_irqrestore (&instance->sndqlock, flags);
return 0;
}
===================================================================
This BitKeeper patch contains the following changesets:
1.1124
## Wrapped with gzip_uu ##
begin 664 bkpatch5632
M'XL(`)F>`#X``\U4VVK<,!!]7GW%0!Y3VQK9\@U<MDU*"RUTV9`/\$5K&U^T
M2';2!7]\91NV%())TSY4",;6D49SSAQT`X]:J'@GV_I)*'(#7Z0>S*_H92_L
M2G:BK?OQARU5:<"CE`9TYF5G/>%DC34H(;13*L:)V7-(A[P"`^EXA[9[71DN
M9Q'OCI\^/W[[<"0D2>"N2OM2/(@!DH1DS;X816LW2J;5?-UTA2=&*2(R3EWN
M(Y]8Z+K>A#[-"O-9L"`Z97Y$UH+V+Y7^>RZ&#$/D7HC^Y/'("\@]H&TN\(`R
M!\T,`8,86<S=6XHQI;"1&VX1+$H^PM\SN",Y6*!$)Y\$Z'/=MS)O--0]Y*W4
MXAUH"<\"\K2'L3<%-*`O?5XIV<M1MQ?R%68Z2`Z_I"76'PY":$K)>RB5*/<K
ME5QV4Z%F`;0SZLSI:IT[^BQ$,<@Q-_@B*@U9,$<63M3C@3_-W$X8>9$71I07
MIRT17Y%_:9IO-'0GI"P*%@MM'IMM]>]I;/KLE316[S$,`ER]%[W->10L]S]Q
MWMJ3[V"IYV4:)QVVV_,&:][[&`#.(5J"BR9<7YB\$J;HL4LB$7#NAS[Y">:Z
&[B[>!```
`
end
-------------------------------------------------------
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