From: Takashi Iwai Date: Fri, 4 Aug 2006 10:57:19 +0000 (+0200) Subject: [ALSA] Fix substream selection in PCM and rawmidi X-Git-Tag: v2.6.19-rc1~1270^2~107 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2529bba7606b23c1b7161d3c2ad486162e8650f9;p=pandora-kernel.git [ALSA] Fix substream selection in PCM and rawmidi The PCM and rawmidi substreams can be selected explicitly by opening control handle and set via *_PREFER_SUBDEVICE ioctl. But, when multiple controls are opened, the driver gets confused. The patch fixes the initialization of prefer_*_subdevice and the check of multiple controls. The first set subdevice is picked up as the valid one. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- Reading git-diff-tree failed