From mboxrd@z Thu Jan 1 00:00:00 1970 From: Timur Tabi Subject: Re: ASoC and a codec that can't be controlled Date: Fri, 01 Jun 2007 16:34:19 -0500 Message-ID: <466090DB.7060102@freescale.com> References: <46531097.5040600@freescale.com> <1179934677.12071.30.camel@a10072.wolfsonmicro.main> <46574453.10808@freescale.com> <1180354247.5816.30.camel@a10072.wolfsonmicro.main> <465C78B6.3000001@freescale.com> <1180529741.29590.54.camel@a10072.wolfsonmicro.main> <465DBE14.5020206@freescale.com> <1180631970.29590.102.camel@a10072.wolfsonmicro.main> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from de01egw01.freescale.net (de01egw01.freescale.net [192.88.165.102]) by alsa0.perex.cz (Postfix) with ESMTP id 8087E24747 for ; Fri, 1 Jun 2007 23:34:24 +0200 (CEST) In-Reply-To: <1180631970.29590.102.camel@a10072.wolfsonmicro.main> 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: Liam Girdwood Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org Liam Girdwood wrote: > I think the best place to call snd_soc_new_pcms is in the machine > driver. This means we don't have to add any pcms that are not used. Are you talking about the snd_soc_dai_link.init() function? If so, then where do you call snd_soc_free_pcms()? The snd_soc_dai_link structure has no "exit" function. -- Timur Tabi Linux Kernel Developer @ Freescale