From: Liam Girdwood Subject: Re: snd_soc_dai_link.init() Date: Thu, 31 May 2007 18:02:44 +0100 Message-ID: <1180630964.29590.83.camel@a10072.wolfsonmicro.main> References: <465DFBF5.9040800@freescale.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from opensource.wolfsonmicro.com (unknown [80.75.67.54]) by alsa0.perex.cz (Postfix) with ESMTP id 24919245D2 for ; Thu, 31 May 2007 19:02:46 +0200 (CEST) In-Reply-To: <465DFBF5.9040800@freescale.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Timur Tabi Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org On Wed, 2007-05-30 at 17:34 -0500, Timur Tabi wrote: > Liam, > > Why does the init() function pointer in the snd_soc_dai_link structure take a > snd_soc_codec pointer? Wouldn't it make more sense for it to take a snd_soc_dai_link > pointer? That way, I could use the init() function to initialize the structure. > Your right, I've logged a bug. https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3135 I should have some time to look at the bugs tomorrow. Liam