diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-11-09 18:21:23 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-11-09 18:21:23 +0100 |
commit | d4b8fc66f770e9b79830cfe6c342846293b99fda (patch) | |
tree | ed2526b8e02bf0c0b8f5e8558c3839b54a7801fe /sound/core/pcm_native.c | |
parent | 1fb8510cdb5b7befe8a59f533c7fc12ef0dac73e (diff) | |
download | op-kernel-dev-d4b8fc66f770e9b79830cfe6c342846293b99fda.zip op-kernel-dev-d4b8fc66f770e9b79830cfe6c342846293b99fda.tar.gz |
ALSA: usb-audio: Allow multiple entries for the same iface in composite quirk
Currently the composite quirk doesn't work when multiple entries are
assigned to the same interface because it marks the interface as
claimed then checks whether the interface has been already claimed for
the secondary entry. But, if you look at the code, you'll notice that
multiple entries are allowed if the entry is the current interface;
i.e. the current behavior is anyway inconsistent, and this is an
unintended shortcoming.
This patch fixes the problem by marking the relevant interfaces as
claimed after applying the all composite entries. This fix will be
needed for the upcoming enhancements for Digidesign Mbox 1 quirks.
Reviewed-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/pcm_native.c')
0 files changed, 0 insertions, 0 deletions