ALSA: hda - Change the AZX_MAX_PCMS to 10
authorWei Ni <wni@nvidia.com>
Thu, 28 Jan 2010 08:13:07 +0000 (16:13 +0800)
committerTakashi Iwai <tiwai@suse.de>
Thu, 28 Jan 2010 16:06:19 +0000 (17:06 +0100)
In hda_codec.c, it has define
"[HDA_PCM_TYPE_HDMI]  = { 3, 7, 8, 9, -1 },",
it support up to device 9 for HDMI.
But in hda_intel.c, it only define AZX_MAX_PCMS as 8.
So if it have 4 hdmi codecs, when run azx_attach_pcm_stream(),
it will show error "Invalid PCM device number 8", and "... number 9",
and return "-EINVAL".
We should change the AZX_MAX_PCMS to 10.

Signed-off-by: Wei Ni <wni@nvidia.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_intel.c

Simple merge