Skip to contentSkip to conversation

snd_card_new() and snd_magic

DISCUSSION Martin Habets 2 participants 2 messages Sep 18, 2004 – Sep 20, 2004

lore
Share & tools
lore
#0 lore raw

I just figured out I can't use the last parameter on snd_card_new() if I want to use the snd_magic stuff. But that leaves me with some questions:

1) Why can't/won't snd_card_new() call snd_magic_kcalloc()?
2) Why would a driver NOT want to support snd_magic? Seems to me it's completely benign if you turn off the kernel option.

A bit confused, but getting there...

Signature · 8 lines
Martin


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
#1 lore raw

At Sat, 18 Sep 2004 16:12:05 +0100,

Quoted 6 lines · Martin Habets

I just figured out I can't use the last parameter on snd_card_new() if I want to use the snd_magic stuff. But that leaves me with some questions:

1) Why can't/won't snd_card_new() call snd_magic_kcalloc()?

snd_magic_* stuff was removed in the recent version. Now we have kcalloc() (like calloc()) for zero-filled allocation.

Quoted 2 lines

2) Why would a driver NOT want to support snd_magic? Seems to me it's completely benign if you turn off the kernel option.

There were complains from kernel guys...

Takashi

-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php