Am Dienstag, 7. September 2004 07:49 schrieb Ben Castricum:
> 
> On Mon, 6 Sep 2004, Oliver Neukum wrote:
> > OK. So I thought.
> > Please try this one to be applied on top of the earlier patch.
> 
> That patch doesn't seem to change anything to the output, results are the
> same:
> 
> Sep  7 06:05:07 gateway kernel: usb 1-2: new full speed USB device using
> address 3
> Sep  7 06:05:07 gateway kernel: drivers/usb/class/cdc-acm.c: Zero length
> descriptor references
> Sep  7 06:05:07 gateway kernel: cdc_acm: probe of 1-2:1.0 failed with
> error -22

OK. Please apply this one on top.

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], 2004-09-08 09:05:49+02:00, [EMAIL PROTECTED]
  - another work around


 cdc-acm.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)


diff -Nru a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c
--- a/drivers/usb/class/cdc-acm.c       Wed Sep  8 09:08:48 2004
+++ b/drivers/usb/class/cdc-acm.c       Wed Sep  8 09:08:48 2004
@@ -548,10 +548,10 @@
        }
 
        if (!buflen) {
-               if (usb_dev->actconfig->extralen && usb_dev->actconfig->extra) {
-                       dev_dbg(&intf->dev,"Seeking extra descriptors on config");
-                       buflen = usb_dev->actconfig;
-                       buffer = usb_dev->actconfig->extra;
+               if (intf->cur_altsetting->endpoint->extralen && 
intf->cur_altsetting->endpoint->extra) {
+                       dev_dbg(&intf->dev,"Seeking extra descriptors on endpoint");
+                       buflen = intf->cur_altsetting->endpoint->extralen;
+                       buffer = intf->cur_altsetting->endpoint->extra;
                } else {
                        err("Zero length descriptor references");
                        return -EINVAL;

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


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


M'XL(  "P/D$  [U474_;,!1]KG_%%4@(Q))<IW:^4!$;H&W:I"$8S\AUG#8B
MM9'M M/RX^<4 4.:2H>F)9$2^]YS['-\E&VX=,I6(].UM\J2;?ADG ]#I8U6
M\=PL5-?JY7UL["P4SXT)Q6283DS7M6GRW2KEDJ''I1D)+6?"RSD$+E>-:#Q^
MFO$_;E0U.C_]>/GU_3DADPD<SX6>J0OE83(AWMA;T=7N2/AY9W3LK=!NH;R(
MI5GT3ZU]BIB&F]-\C#SK:88L[R6M*16,JAI35F2,/[EMAIL PROTECTED],2\QH07F*
M/1N7F)([EMAIL PROTECTED])[EMAIL PROTECTED] "6%?**E?N85HBPAAOV*41(/L"_57-,)[EMAIL 
PROTECTED]/%S
M9>'.V&L0UBQU3;Y V#2EY.S93!+]Y44("B2'K^RYMH-JERS=-!%R$<O?]LZ0
MYCW/\C+KIW+,&TJ;E(V;L<JGZ]QZP2D[X5PB:QD]L0]G4V".+#B#19ZR56K6
[EMAIL PROTECTED]/T1M5K,W3!BJ&A#'*>DQY25<)RXJ7^6(5SS;)%X.(_==\K7S_!I&]6STA
M+F?KCN -Z3OAG (CGSEGX34:M0WLMMHWT:%<VBO1>:>\;_4L.E2ZOC&A%+[N
[EMAIL PROTECTED]).:[EMAIL PROTECTED]:JGLYV=QY 8?ANZT*IZP"!51_4RDG;[EMAIL 
PROTECTED]'[EMAIL PROTECTED]
MCS1;>P<#?KILAE4GFRT:6A]133!V0]3!\U]4SI6\=LO%!$7)[EMAIL PROTECTED]';XE5
$KP4     


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to