1 --- ./acore/sound.patch.orig 2003-07-03 16:05:15.000000000 +0200
2 +++ ./acore/sound.patch 2005-06-26 09:45:05.000000000 +0200
4 ---- sound.c 2003-05-30 15:29:14.000000000 +0200
5 -+++ sound.c.old 2003-05-30 15:30:11.000000000 +0200
7 +--- sound.c.orig 2005-06-25 23:33:07.000000000 +0200
8 ++++ sound.c 2005-06-25 23:33:07.000000000 +0200
10 + void snd_request_card(int card)
15 + read_lock(&snd_card_rwlock);
16 + locked = snd_cards_lock & (1 << card);
19 + if (card < 0 || card >= cards_limit)
21 +- request_module("snd-card-%i", card);
22 ++ str = kmalloc(15,GFP_KERNEL);
23 ++ snprintf(str,15,"snd-card-%i",card);
24 ++ request_module(str);
28 + static void snd_request_other(int minor)
31 struct file_operations snd_fops =
40 printk(KERN_INFO "Advanced Linux Sound Architecture Driver Version " CONFIG_SND_VERSION CONFIG_SND_DATE ".\n");
48 snd_info_minor_unregister();
52 #ifdef CONFIG_SND_DEBUG_MEMORY
57 EXPORT_SYMBOL(snd_wrapper_vmalloc);
58 EXPORT_SYMBOL(snd_wrapper_vfree);