Hi,

this is the same fix as for microtek. It's against 2.5.
Please apply.

        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-10-22 21:00:55+02:00, [EMAIL PROTECTED]
  - kill wrong error case




diff -Nru a/drivers/usb/image/hpusbscsi.c b/drivers/usb/image/hpusbscsi.c
--- a/drivers/usb/image/hpusbscsi.c     Tue Oct 22 21:02:03 2002
+++ b/drivers/usb/image/hpusbscsi.c     Tue Oct 22 21:02:03 2002
@@ -31,7 +31,7 @@
 /* USB related parts */
 
 static int
-hpusbscsi_usb_probe (struct usb_interface *intf, 
+hpusbscsi_usb_probe (struct usb_interface *intf,
                     const struct usb_device_id *id)
 {
        struct hpusbscsi *new;
@@ -109,11 +109,6 @@
        switch (result) {
        case 0:         /* no error */
                break;
-
-       case -EPIPE:
-               usb_clear_halt (dev, usb_sndctrlpipe (dev, 0));
-               break;
-
        default:
                printk (KERN_ERR "unknown error %d from usb_set_interface\n",
                         result);

===================================================================


This BitKeeper patch contains the following changesets:
1.943
## Wrapped with gzip_uu ##


begin 664 bkpatch2057
M'XL(`*N@M3T``[V56V^;,!3'G^M/8:DOT[J`KUPB94HOTUIUTJI.?:[`G`!+
M@I$QO4A\^!FRM5U$,RV=AI`QY^##.7__#ASBFP;,]$"ORCLPZ!"?Z\:Z6ZAT
M!5ZAU[`JJ_;!TR9WSFNMG=/OS?YFA9\N)]8`-'[;I!/F2>0>NTJL*K#S-M,#
MZO$GBWVL87IP_>GSS9?C:X1F,WQ:)%4.W\#BV0RERWG6PLI;&IT4_1N[)W?'
M"*&4,DFX#*CL6,2YZ&A`TLQ-,Q;&BS2(T7?[6(&9J\9KE?$@:W^/P"AAC`0T
ME+R3DG.*SC#U8L$Q83XE/F.8T2DA4RF/"',3O"ER/B8'/F)X0M`)?GO:ITCA
M"5Z6JQ6^-[K*,1BC#59)`^@2RXC$#%T]:X4F?WD@1!*"/HYD>E+:2X#:[2-8
MY9=YI0UL)\V%C'DG9*A$2B#+HB@4/-HES:MAAPV@,2'2:4$ED:-)9:://!#E
M%[4;&]64GGK.2SA!2">"D(<=)S')8"&Y$)%41.S,ZV7D<IWDL!W_98+$@1$.
ME(Z5,P[L_GJBW$`^WT12>KU+0A(QRD/..RKZ#'N&J=@/8?XO$3[.,LCP+XW+
M)JO\HFR2!]\55"W*W-/>L[NNZMZ^KA,[V"NP?EG?!;Z79)GI%PQFJ[$M`/_4
M?%4VUG7$!IVO>&+NA],1?C6Z27MTRD448XYV%X%>*0*-%S$PM!.]<9C>U`?;
M//T9?1+3B`@I..NH9`$;P&+A?F!1/`G^P[=Q:-$M$'96N@<19UQ@BBZ&\2G2
MK;O>UD:G@-\UUK3*XMY25A;,(E&`W[OIX@,Z<Q7B%S]%58!:-NUZ!C3FC%*"
*?@`QQY,C@@<`````
`
end



-------------------------------------------------------
This sf.net emial is sponsored by: Influence the future
of Java(TM) technology. Join the Java Community
Process(SM) (JCP(SM)) program now.
http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to