| To: | linux-mips <linux-mips@linux-mips.org> |
|---|---|
| Subject: | O2 IP32: patch for ALSA sound for 2.6.12rc2 (2) |
| From: | Frederic TEMPORELLI - astek <ftemporelli@astek.fr> |
| Date: | Sun, 24 Apr 2005 21:36:40 +0200 |
| In-reply-to: | <426BBC6E.5010603@laposte.net> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <426BBC6E.5010603@laposte.net> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.7.3) Gecko/20040910 |
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 in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | O2 IP32: patch for ALSA sound for 2.6.12rc2, Frederic TEMPORELLI |
|---|---|
| Next by Date: | RE: Common Flash Memory Interface, martin . nichols |
| Previous by Thread: | O2 IP32: patch for ALSA sound for 2.6.12rc2, Frederic TEMPORELLI |
| Next by Thread: | iptables/vmalloc issues on alchemy, Herbert Valerio Riedel |
| Indexes: | [Date] [Thread] [Top] [All Lists] |