Re: [linux-usb-devel] 2.6.6-rc1: cdc-acm still (differently) broken

From: David Brownell
Date: Thu Apr 15 2004 - 13:58:53 EST


Colin Leroy wrote:
Hi,

I gave 2.6.6-rc1 a try, and found that cdc-acm is now broken is a new way:
... usb_interface_claimed() returns true ... intf->dev.driver is already cdc-acm

The interface being probed is by definition not going to be claimed
by any other driver ... it shouldn't check or claim that interface.

That test has always been buggy -- better to just remove it. For
that matter, usb_interface_claimed() calls should all vanish ... it's
better to fail if claiming the interface fails (one step, not two).
Care to try an updated patch?

This started to matter because as of RC1, usbcore got rid of the last of
some pre-driver-model code for driver binding. There might be a similar
bug in the ALSA usb audio driver, according to 'grep'.

- Dave




HTH,


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/