Skip to contentSkip to conversation

usb_reset_configuration on a composite device

linux-usb-devel Clemens Ladisch 1 participant 1 message Oct 17, 2005

lore
Share & tools
lore
#0 lore raw
Quoted 11 lines · Alan Stern
Quoted 5 lines · Laurent Pinchart

While reading the ALSA USB sound driver's source code to find out how it handles interface association, I noticed that the driver calls usb_reset_configuration in its probe function. While that's fine for normal devices, wouldn't it be a problem with composite devices like my webcam ?

I don't know why the ALSA driver calls usb_reset_configuration. Normally it shouldn't be needed, as you said, but perhaps the driver has some special reason.

It was just copied from audio.c.
I'll remove it (since the call in audio.c got removed years ago).

Regards,
Clemens

-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl