diff options
author | Takashi Iwai <tiwai@suse.de> | 2010-01-28 17:08:53 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-01-28 17:08:53 +0100 |
commit | c89362225152fc6f2247f65371bfe3ccced3203b (patch) | |
tree | a4b07e2ab1d6b85771ab4c8eba13c681fd8b076f /sound/pci/hda/hda_codec.c | |
parent | 7b36ea967cc5b5088a57fe225f1f72a3c160058b (diff) | |
download | op-kernel-dev-c89362225152fc6f2247f65371bfe3ccced3203b.zip op-kernel-dev-c89362225152fc6f2247f65371bfe3ccced3203b.tar.gz |
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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c index 26ceace..98767df 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) { |