ALSA: hda - Supports more audio streams
authorTakashi Iwai <tiwai@suse.de>
Thu, 24 Nov 2011 13:31:46 +0000 (14:31 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sat, 26 Nov 2011 09:19:44 +0000 (10:19 +0100)
So far, the driver supports up to 10 streams.  This is a restriction in
hda_intel.c and hda_codec.c: in the former, the fixed array size limits
the amount, and in the latter, the fixed device-number assignment table
(in get_empty_pcm_device()) limits the possibility.

This patch reduces the restriction by
- using linked list for managing PCM instances in hda_intel.c, and
- assigning non-fixed device numbers for the extra devices

Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found