From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: snd_card_new() and snd_magic Date: Mon, 20 Sep 2004 11:44:53 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <20040918151205.GA31441@palantir8> Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <20040918151205.GA31441@palantir8> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Martin Habets Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org 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