summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_codec.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2011-11-24 14:31:46 +0100
committerTakashi Iwai <tiwai@suse.de>2011-11-26 10:19:44 +0100
commit01b65bfb4f8cd45b0d44547c961ef59a0bcf74be (patch)
treeb297e5611802e0734a263718f59434d3e436e6c9 /sound/pci/hda/hda_codec.h
parentb37c0096b448d099d304bb47c4eada9117dba4cf (diff)
downloadop-kernel-dev-01b65bfb4f8cd45b0d44547c961ef59a0bcf74be.zip
op-kernel-dev-01b65bfb4f8cd45b0d44547c961ef59a0bcf74be.tar.gz
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.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h
index 5644711..17cee4e 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
*/
OpenPOWER on IntegriCloud