From: Jaroslav Kysela <perex@perex.cz>
To: Wei Ni <wni@nvidia.com>
Cc: "'Takashi Iwai'" <tiwai@suse.de>,
"'akpm'" <akpm@linux-foundation.org>,
"'alsa-devel'" <alsa-devel@alsa-project.org>,
"'linux-kernel'" <linux-kernel@vger.kernel.org>,
"'Pavel Hofman'" <pavel.hofman@insite.cz>
Subject: Re: [alsa-devel] [PATCH]Change the AZX_MAX_PCMS to 10
Date: Thu, 28 Jan 2010 09:48:44 +0100 (CET) [thread overview]
Message-ID: <alpine.LNX.2.00.1001280941120.25340@eeebox2.perex-int.cz> (raw)
In-Reply-To: <6B4D417B830BC44B8026029FD256F7F1BFEAFA4039@HKMAIL01.nvidia.com>
On Thu, 28 Jan 2010, Wei Ni wrote:
> Hi, Takashi When I develop hdmi audio driver on the GT21x, I found a bug
> in the had_intel.c 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 the GT21x 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.
I'm afraid, but having more than 8 PCM devices might cause problems when
CONFIG_SND_DYNAMIC_MINORS is not set. At least, this condition
(#if SNDRV_PCM_DEVICES < 10) should be handled in the HDA driver.
Jaroslav
-----
Jaroslav Kysela <perex@perex.cz>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.
next parent reply other threads:[~2010-01-28 9:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <6B4D417B830BC44B8026029FD256F7F1BFEAFA4039@HKMAIL01.nvidia.com>
2010-01-28 8:48 ` Jaroslav Kysela [this message]
2010-01-28 9:06 ` Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LNX.2.00.1001280941120.25340@eeebox2.perex-int.cz \
--to=perex@perex.cz \
--cc=akpm@linux-foundation.org \
--cc=alsa-devel@alsa-project.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel.hofman@insite.cz \
--cc=tiwai@suse.de \
--cc=wni@nvidia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®