diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2013-04-04 21:43:57 +0200 |
---|---|---|
committer | Clemens Ladisch <clemens@ladisch.de> | 2013-06-27 21:59:49 +0200 |
commit | b1ce7ba619d9de53db7fad25f445ca9abc2b63df (patch) | |
tree | 09e6fd2e2f1d81e54e52789ad1baf3eee2992b81 /sound/usb/quirks-table.h | |
parent | 8e5ced83dd1c3090c96c4e0614703f0f2a5ba2f4 (diff) | |
download | linux-stable-b1ce7ba619d9de53db7fad25f445ca9abc2b63df.tar.gz linux-stable-b1ce7ba619d9de53db7fad25f445ca9abc2b63df.tar.bz2 linux-stable-b1ce7ba619d9de53db7fad25f445ca9abc2b63df.zip |
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: Clemens Ladisch <clemens@ladisch.de>
Diffstat (limited to 'sound/usb/quirks-table.h')
0 files changed, 0 insertions, 0 deletions