All of lore.kernel.org
 help / color / mirror / Atom feed
* snd_card_new() and snd_magic
@ 2004-09-18 15:12 Martin Habets
  2004-09-20  9:44 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Habets @ 2004-09-18 15:12 UTC (permalink / raw)
  To: alsa-devel

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...
-- 
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: snd_card_new() and snd_magic
  2004-09-18 15:12 snd_card_new() and snd_magic Martin Habets
@ 2004-09-20  9:44 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2004-09-20  9:44 UTC (permalink / raw)
  To: Martin Habets; +Cc: alsa-devel

At Sat, 18 Sep 2004 16:12:05 +0100,
Martin Habets wrote:
> 
> 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.

> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-09-20  9:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-18 15:12 snd_card_new() and snd_magic Martin Habets
2004-09-20  9:44 ` Takashi Iwai

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.