]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb-audio: Change internal PCM order
authorJohan Rastén <johan@oljud.se>
Sun, 6 Sep 2015 16:16:13 +0000 (18:16 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 7 Sep 2015 08:57:27 +0000 (10:57 +0200)
commit30c6a4800abde9e38a266917d7ea645cc8f23ab3
tree69b113a0fb4fbf70767d799d48db73713e03c81b
parent2f28d39d62ed2955fd558535c3d68c109c01846a
ALSA: usb-audio: Change internal PCM order

New PCMs will now be added to the end of the chip's PCM list instead of to the
front. This changes the way streams are combined so that the first capture
stream will now be merged with the first playback stream instead of the last.

This fixes a problem with ASUS U7. Cards with one playback stream and cards
without capture streams should be unaffected by this change.

Exception added for M-Audio Audiophile USB (tm) since it seems to have a fix to
swap capture stream numbering in alsa-lib conf/cards/USB-audio.conf

Signed-off-by: Johan Rastén <johan@oljud.se>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/stream.c