From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: asoc device probing and dai question Date: Thu, 2 Dec 2010 11:07:15 +0000 Message-ID: <20101202110715.GD19267@rakim.wolfsonmicro.main> References: <438BB0150E931F4B9CE701519A44630104BEE140D2@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 A745110384C for ; Thu, 2 Dec 2010 12:07:16 +0100 (CET) Content-Disposition: inline In-Reply-To: <438BB0150E931F4B9CE701519A44630104BEE140D2@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" , Liam Girdwood List-Id: alsa-devel@alsa-project.org On Thu, Dec 02, 2010 at 04:31:07PM +0530, Koul, Vinod wrote: > So should I continue to register the dai for both cpu and codec in machine > probe. I didn't see other driver in soc/ doing this, so did I miss something. No, this is the wrong approach. The machine driver should not be registering anything except itself. The CODEC and CPU drivers should be being probed independantly in whatever way they would normally be probed for the bus they're on.