From: Wei Ni Date: Thu, 28 Jan 2010 08:13:07 +0000 (+0800) Subject: ALSA: hda - Change the AZX_MAX_PCMS to 10 X-Git-Tag: v2.6.34-rc1~243^2~1^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b36ea967cc5b5088a57fe225f1f72a3c160058b;p=pandora-kernel.git ALSA: hda - Change the AZX_MAX_PCMS to 10 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 Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed