Skip to content
Commit b1ce7ba6 authored by Clemens Ladisch's avatar Clemens Ladisch
Browse files

ALSA: usb-audio: claim autodetected PCM interfaces all at once



snd_card_register() registers all devices newly added since the last
call.  However, the playback/capture streams are handled as one ALSA
device, so the second /dev device will not be registered if the PCM
streams are added in two steps.

QUIRK_AUTODETECT caused the probe callback to be called once for each
interface, which triggered this problem.  Work around this by handling
this like the composite quirk, i.e., autodetecting all other interfaces
that might be used for PCM or MIDI.

Signed-off-by: default avatarClemens Ladisch <clemens@ladisch.de>
parent 8e5ced83
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment