From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: [PATCH] ASoC: Make register_card API available to drivers Date: Thu, 13 Jan 2011 15:08:11 +0000 Message-ID: <20110113150811.GE30351@opensource.wolfsonmicro.com> References: <1294901358-14364-1-git-send-email-vinod.koul@intel.com> <20110113112607.GA9936@opensource.wolfsonmicro.com> <438BB0150E931F4B9CE701519A4463010844671F9B@bgsmsx502.gar.corp.intel.com> <20110113114203.GA30351@opensource.wolfsonmicro.com> <438BB0150E931F4B9CE701519A4463010844671FD1@bgsmsx502.gar.corp.intel.com> <20110113133435.GC30351@opensource.wolfsonmicro.com> <438BB0150E931F4B9CE701519A4463010844671FDC@bgsmsx502.gar.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from opensource2.wolfsonmicro.com (opensource.wolfsonmicro.com [80.75.67.52]) by alsa0.perex.cz (Postfix) with ESMTP id 181082464D for ; Thu, 13 Jan 2011 16:10:28 +0100 (CET) Content-Disposition: inline In-Reply-To: <438BB0150E931F4B9CE701519A4463010844671FDC@bgsmsx502.gar.corp.intel.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: "Koul, Vinod" Cc: "alsa-devel@alsa-project.org" , "Harsha, Priya" , "Bensaid, Selma" , "lrg@slimlogic.co.uk" List-Id: alsa-devel@alsa-project.org On Thu, Jan 13, 2011 at 07:31:48PM +0530, Koul, Vinod wrote: > Above works well for probe, but not sure if that is intention for remove(). > Do you expect the machine driver to call codec and platform remove before it > unregisters the card. > The code inside: > if (card->instantiated) No, the core code needs to do that as part of removing the card.