commit | 2529bba7606b23c1b7161d3c2ad486162e8650f9 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Fri Aug 04 12:57:19 2006 +0200 |
committer | Jaroslav Kysela <perex@suse.cz> | Sat Sep 23 10:39:59 2006 +0200 |
tree | fc19403b51f9a8c3d080fac7acd50c3a95cb652c | |
parent | f03d68fe343d70bb06ecdb3d70dcf0e678ed99f9 [diff] |
[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 <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>