From: Frederic TEMPORELLI - astek <ftemporelli@astek.fr>
To: linux-mips <linux-mips@linux-mips.org>
Subject: O2 IP32: patch for ALSA sound for 2.6.12rc2 (2)
Date: Sun, 24 Apr 2005 21:36:40 +0200 [thread overview]
Message-ID: <426BF548.3030005@astek.fr> (raw)
In-Reply-To: <426BBC6E.5010603@laposte.net>
more comments about previous patch:
following problems have been reported when compiling static driver:
- "mace" musn't be defined in the driver => just comment line 112 in
sgio2audio.c
- AD1843 init may be done twice (or more) to get it working... but
driver can't be launch again when static...
Kumba, can you replace alsa_card_sgio2audio_init in sgio2audio.c with
following code ?
(not really nice, but should do the trick when AD1843 won't go ahead)
====================================================
/* initialization of the module */
#include <linux/delay.h>
static int __init alsa_card_sgio2audio_init(void)
{
int err,tries;
tries=0;
while(tries<5){
if ((err = snd_sgio2audio_probe()) < 0) {
printk("sgio2audio: probe SGI O2 Audio
#%d\n",tries);
tries++;
msleep(1000);
}
else{
printk("sgio2audio: SGI O2 Audio probed - OK\n");
return 0;
}
}
printk("sgio2audio: sorry, SGI O2 Audio can't be initialized\n");
return err;
}
====================================================
Fred
prev parent reply other threads:[~2005-04-24 19:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-24 15:34 O2 IP32: patch for ALSA sound for 2.6.12rc2 Frederic TEMPORELLI
2005-04-24 19:36 ` Frederic TEMPORELLI - astek [this message]
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=426BF548.3030005@astek.fr \
--to=ftemporelli@astek.fr \
--cc=linux-mips@linux-mips.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.