diff options
author | Takashi Iwai <tiwai@suse.de> | 2011-11-24 17:31:46 +0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-11-26 13:19:44 +0400 |
commit | 01b65bfb4f8cd45b0d44547c961ef59a0bcf74be (patch) | |
tree | b297e5611802e0734a263718f59434d3e436e6c9 /sound/pci/hda/hda_codec.h | |
parent | b37c0096b448d099d304bb47c4eada9117dba4cf (diff) | |
download | linux-01b65bfb4f8cd45b0d44547c961ef59a0bcf74be.tar.xz |
ALSA: hda - Supports more audio streams
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>
Diffstat (limited to 'sound/pci/hda/hda_codec.h')
-rw-r--r-- | sound/pci/hda/hda_codec.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h index 564471169cae..17cee4ee8e65 100644 --- a/sound/pci/hda/hda_codec.h +++ b/sound/pci/hda/hda_codec.h @@ -547,9 +547,6 @@ enum { /* max. codec address */ #define HDA_MAX_CODEC_ADDRESS 0x0f -/* max number of PCM devics per card */ -#define HDA_MAX_PCMS 10 - /* * generic arrays */ |