Messages in this thread | | | Date | Thu, 25 Mar 2004 18:46:20 +0100 | From | Colin Leroy <> | Subject | [PATCH] Re: [linux-usb-devel] Re: [OOPS] reproducible oops with 2.6.5-rc2-bk3 |
| |
On 25 Mar 2004 at 11h03, Alan Stern wrote:
Hi,
Found out ! cdc-acm wants both interfaces to be ready (cur_altsetting initialized) when acm_probe() is called. Hence, we have to make two parts out of the loop in message.c::usb_set_configuration(): one to init things, one to register them.
The attached patch does that. It fixes the oops, and doesn't break any of my USB peripheral (printer, scanner, mouse, and diskonkey).
I hope it's fine enough to go in :) -- Colin [unhandled content-type:application/octet-stream] | |