From: "Ruslan U. Zakirov" <cubic@wr.miee.ru>
To: perex@suse.cz
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] ALSA with CONFIG_SND_SB16_CSP compiling problems in 2.5.50
Date: Thu, 28 Nov 2002 22:57:01 +0300 [thread overview]
Message-ID: <15801829670.20021128225701@wr.miee.ru> (raw)
Hello!
I think it's just typing error.
--- sound/isa/sb/sb16.c.orig Thu Nov 28 21:54:22 2002
+++ sound/isa/sb/sb16.c Thu Nov 28 21:55:23 2002
@@ -502,7 +502,7 @@
#ifdef CONFIG_SND_SB16_CSP
/* CSP chip on SB16ASP/AWE32 */
- if ((chip->hardware == SB_HW_16) && csp[dev]) {
+ if ((chip->hardware == SB_HW_16CSP) && csp[dev]) {
snd_sb_csp_new(chip, synth != NULL ? 1 : 0, &xcsp);
if (xcsp) {
chip->csp = xcsp->private_data;
And here is problem with CONFIG_SND_SB16_CSP turned on,
I think it must be something like this
--- sound/isa/sb/sb16.c.orig Thu Nov 28 22:28:07 2002
+++ sound/isa/sb/sb16.c Thu Nov 28 22:51:48 2002
@@ -664,7 +664,6 @@
{
static unsigned __initdata nr_dev = 0;
int __attribute__ ((__unused__)) pnp = INT_MAX;
- int __attribute__ ((__unused__)) csp = INT_MAX;
if (nr_dev >= SNDRV_CARDS)
return 0;
@@ -692,10 +691,6 @@
#ifdef __ISAPNP__
if (pnp != INT_MAX)
isapnp[nr_dev] = pnp;
-#endif
-#ifdef CONFIG_SND_SB16_CSP
- if (csp != INT_MAX)
- csp[nr_dev] = csp;
#endif
nr_dev++;
return 1;
I can mistake.
Best regards.
Ruslan
reply other threads:[~2002-11-28 19:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=15801829670.20021128225701@wr.miee.ru \
--to=cubic@wr.miee.ru \
--cc=linux-kernel@vger.kernel.org \
--cc=perex@suse.cz \
/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®