diff options
author | 2010-01-28 16:13:07 +0800 | |
---|---|---|
committer | 2010-01-28 17:06:19 +0100 | |
commit | 7b36ea967cc5b5088a57fe225f1f72a3c160058b (patch) | |
tree | b0b30852b8485e337eddfad62d5f019d1cfd7dc3 /lib/debugobjects.c | |
parent | ALSA: hda - Allow override more fields via patch loader (diff) | |
download | wireguard-linux-7b36ea967cc5b5088a57fe225f1f72a3c160058b.tar.xz wireguard-linux-7b36ea967cc5b5088a57fe225f1f72a3c160058b.zip |
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 <wni@nvidia.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions