From: Takashi Iwai <tiwai@suse.de>
To: Rene Herman <rene.herman@keyaccess.nl>
Cc: ALSA devel <alsa-devel@alsa-project.org>,
Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: [ALSA] ISA drivers bailing on first !enable[i]
Date: Fri, 24 Mar 2006 12:03:18 +0100 [thread overview]
Message-ID: <s5hu09onlzd.wl%tiwai@suse.de> (raw)
In-Reply-To: <44238482.50401@keyaccess.nl>
At Fri, 24 Mar 2006 06:32:50 +0100,
Rene Herman wrote:
>
> Hi Takashi.
>
> After the change to the platform_driver stuff in 2.6.16, all ISA card
> module_inits loop over the cards using:
>
> for (i = 0; i < SNDRV_CARDS && enable[i]; i++) {
>
> This means that the driver bails completely on the first !enable[i].
> This did not use to be the case and does not seem right. I believe it
> should rather be:
>
> for (i = 0; i < SNDRV_CARDS; i++) {
> if (!enable[i])
> continue;
>
> This would restore the previous behaviour for the enable parameter; ie,
> only ignore the one.
>
> Assuming this was indeed the idea, I've attached a patch against 2.6.16.
> If it's correct, but you need it against ALSA CVS instead, please say so
Yes, these are correct fixes. Most of them should have been already
in the latest ALSA tree, i.e. also in Linus git tree now.
Could you check what's still missing? I might missed some drivers.
Thanks.
Takashi
next prev parent reply other threads:[~2006-03-24 11:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-24 5:32 Rene Herman
2006-03-24 11:03 ` Takashi Iwai [this message]
2006-03-25 0:28 ` Rene Herman
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=s5hu09onlzd.wl%tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rene.herman@keyaccess.nl \
/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®