Hi,
usb_clear_halt cannot be used from a completion handler because it sleeps
As that code path would have crashed the driver, it's obviously not needed
and can be removed.
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 15:27:54+01:00, [EMAIL PROTECTED]
- removed error case that does not happen
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 15:28:12 2002
+++ b/drivers/usb/misc/speedtouch.c Wed Dec 18 15:28:12 2002
@@ -735,9 +735,6 @@
return;
}
break;
- case -EPIPE: /* stall or babble */
- usb_clear_halt (urb->dev, usb_rcvbulkpipe (urb->dev,
UDSL_ENDPOINT_DATA_IN));
- break;
case -ENOENT: /* buffer was unlinked */
case -EILSEQ: /* unplug or timeout */
case -ETIMEDOUT: /* unplug or timeout */
===================================================================
This BitKeeper patch contains the following changesets:
1.1121
## Wrapped with gzip_uu ##
begin 664 bkpatch4734
M'XL(`/R%`#X``ZV4[6K;,!2&?T=7<:`_BV-]6K;!)5T[-MB@(:,7X(\3.R2V
M@F1W&_CB)\?0,ABF[6H$LO1:1^<]Y\%7\.C0IBMS.CRA)5?PU;C>+[$S':X;
MT^+IT`V_UL;67MP9X\5PV@[G$V%Q#'J+Z,+:<D7\-]N\+QOPDDM7;"V>=_K?
M9TQ7N\]?'K_?[@C),KAK\J[&']A#EI'BN*D&/*V/UN3-=-WX+(^<4L885U2H
MB*F1QT+(D46TJ/QKQ76R+Z*$S`EM_I7ZW[$XXRQF0G"A1JD2R<@]L+6_@`'E
M(?,C!J92KE,EKRE+*86%V'#-(*#D$_R_@SM2`@1@L35/6`%::RR4N4/HF[R'
MRJ"#SO30Y.<S=N0;3-E'9/M221*\\2&$YI3<0&VQWLR9EZ8=*SOY=>'@BK`]
MN#)T9\2J-T/I]4L-:<SU-/-XI%+I:)RL[%DB$QDG5%7[I9J](OZE1Y)KY>ND
M)8LNQ"P>FRCZ>!N+6+W2QHP:UT+*&;7H?:!1",2'@?86SN8./$!@?UZ&YV:[
AW(QW@'BO10SBY1=2-E@>W=!FA=921DR2/\-2H?2M!```
`
end
-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel