summaryrefslogtreecommitdiff
path: root/sound/pci/hda/hda_codec.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2010-01-28 17:08:53 +0100
committerTakashi Iwai <tiwai@suse.de>2010-01-28 17:08:53 +0100
commitc89362225152fc6f2247f65371bfe3ccced3203b (patch)
treea4b07e2ab1d6b85771ab4c8eba13c681fd8b076f /sound/pci/hda/hda_codec.c
parent7b36ea967cc5b5088a57fe225f1f72a3c160058b (diff)
ALSA: hda - Define max number of PCM devices in hda_codec.h
Define the constant rather in the common header file. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_codec.c')
-rw-r--r--sound/pci/hda/hda_codec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c
index 26ceace88c96..98767df4f03a 100644
--- a/sound/pci/hda/hda_codec.c
+++ b/sound/pci/hda/hda_codec.c
@@ -3275,6 +3275,8 @@ const char *snd_hda_pcm_type_name[HDA_PCM_NTYPES] = {
/*
* get the empty PCM device number to assign
+ *
+ * note the max device number is limited by HDA_MAX_PCMS, currently 10
*/
static int get_empty_pcm_device(struct hda_bus *bus, int type)
{